Wordpress 从标题图像获取所有缩略图url
我使用“get_Upload_header_images()”函数获得了数组。现在我想在另一个数组中打印所有缩略图 我得到的数组是Wordpress 从标题图像获取所有缩略图url,wordpress,header,Wordpress,Header,我使用“get_Upload_header_images()”函数获得了数组。现在我想在另一个数组中打印所有缩略图 我得到的数组是 Array ( [cropped-abstract-white-awesome-album-black-colorful-cool-music-nice-1064669.jpg] => Array ( [attachment_id] => 23 [url] =&g
Array
(
[cropped-abstract-white-awesome-album-black-colorful-cool-music-nice-1064669.jpg] => Array
(
[attachment_id] => 23
[url] => http://localhost/TantraProjects/gradualis/wp-content/uploads/2014/02/cropped-abstract-white-awesome-album-black-colorful-cool-music-nice-1064669.jpg
[thumbnail_url] => http://localhost/TantraProjects/gradualis/wp-content/uploads/2014/02/cropped-abstract-white-awesome-album-black-colorful-cool-music-nice-1064669.jpg
[width] => 1300
[height] => 400
)
[cropped-color.jpg] => Array
(
[attachment_id] => 24
[url] => http://localhost/TantraProjects/gradualis/wp-content/uploads/2014/02/cropped-color.jpg
[thumbnail_url] => http://localhost/TantraProjects/gradualis/wp-content/uploads/2014/02/cropped-color.jpg
[width] => 1300
[height] => 400
)
)
现在我想要所有[缩略图url]的数组。请再解释一下……我已经得到了答案。我通过普通的php foreach函数来使用它。谢谢你的关注。好的,没问题…享受编码。。。