I'm using the following to show my Array contents:
var_dump($categories);
Contents:
array(1) {
[0]=>
object(stdClass)#114 (16) {
["term_id"]=> &string(1) "3"
["name"]=> &string(10) "Recordings"
["slug"]=> &string(9) "recording"
}
}
My Question is, how do I retrieve the slug value?
I had tried $categories[0]["slug"] but with no success.
Many thanks for any guidance.