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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -