• hi there
    can anyone explain me what is term in a tax_query?

    for example check this code out:

    $args = array(	'numberposts'=>-1,
    		'order_by'=>'menu_order',
    		'order'=>'ASC',
    		'post_type'=>'book',
    		'exclude'=>$the_id,
    		'tax_query'=>array(array('taxonomy'=>'series',
    					'field'=>'slug',
    					'terms'=>$slug
    					))
    		);
    $series_posts = get_posts($args);

    what is different between ‘series’ and $slug?

  • The topic ‘what is term in tax_query’ is closed to new replies.