php - Get a value from a multidimensional array Wordpress -
i've array :
$args = array( 'tax_query' => array( array( 'taxonomy' => 'agence', 'field' => 'slug', 'terms' => array( 'dinan') ) ) );
i want pick value 'dinan' array, reply !
the way pick array:
$tmp = $args['tax_query']['terms'][0];
Comments
Post a Comment