I have this array which is inside the variable $cablecar_nhp
. When I var_dump()
the variable it give me this.
array(3) {
["last_tab"]=> string(0) ""
["media"]=> array(5) {
["url"]=> string(65) "http://sample.com/wp_cablecar/wp-content/uploads/2013/07/Koala.jpg"
["id"]=> string(2) "84"
["height"]=> string(3) "768"
["width"]=> string(4) "1024"
["thumbnail"]=> string(72) "http://sample.com/wp_cablecar/wp-content/uploads/2013/07/Koala-120x95.jpg"
}
["REDUX_imported"]=> bool(false)
}
What i want to do is to get and display the image. Can anybody help me ? I am working on WordPress.
I’m one of the core devs of Redux. You can access your variable in question by expanding on what Valery said:
Or, do what pr1nc3 suggests above. 😉
You can try to do this: