Support

Account

Home Forums General Issues How to echo custom field from media attachment Reply To: How to echo custom field from media attachment

  • Well, that means that you post does not have a feature image.

    Try

    
    $attachments = get_attached_media('');
    echo '<pre>'; print_r($attachments); echo '</pre>';