Skip to content

Alternatively you could get the featured image with a custom function featured_image_details($post->ID) to return:

array(6) { ["alt"]=> string(21) "The Chemical Brothers" ["caption"]=> string(21) "The Chemical Brothers" ["description"]=> string(21) "The Chemical Brothers" ["name "]=> string(21) "The Chemical Brothers" ["url"]=> string(104) "http://www.hamishbrown.com/wp-content/uploads/2024/02/20230303_HB_Chemical_Bros_Shot_04_0908_F1-copy.jpg" ["assigned_post"]=> int(5578) }

By

Published on 6th June, 2023

The Chemical Brothers
For That Beautiful Feeling
Virgin EMI