Support

Account

Home Forums Front-end Issues Query posts by user relationship field Reply To: Query posts by user relationship field

  • Value in meta query should contain only variable, like this

    
    		'meta_query'     => array(
    			array(
    				'key'     => 'shift_volunteers',
    				'value'   => $current_user_id,
    				'compare' => 'LIKE'
    			),
    		)
    

    Tested – work like a charm 🙂