I apologise if it's been asked before - I've tried searching and Googling but can't find the solution. I was wondering how I can retrieve the Featured Image metadata (Title, Caption, Alt Text, Description) so that I can assign them to variables and use the values. Specifically, how could I assign any of these to use as the title attribute for a Featured Image in the example below?
<?php the_post_thumbnail ( 'large', array('title' => $image_metadata)); ?>
Massive thanks to anyone who can help!