• I am trying to create a template which gets info on posts’ featured images – the fields displayed in the Edit Media page.

    I’ve got wp_get_attachment_metadata( get_post_thumbnail_id() ) .

    But this returns the images’ EXIF and IPTC information – not what’s in Edit Media. If the user changes the description in Edit Media, wp_get_attachment_metadata still returns the original IPTC description.

    Is there an alternative to wp_get_attachment_metadata which I should be using?

  • The topic ‘Media Info – alternatives to wp_get_attachment_metadata’ is closed to new replies.