• Hi,

    How about making it return the Video Thumbnail image ID as well? Like:

    // Add hidden custom field with thumbnail ID
    if ( !update_post_meta( $post_id, '_video_thumbnail_id', $attachment_id ) ) add_post_meta( $post_id, '_video_thumbnail_id', $attachment_id, true ); 

    Or there is a way I can get this other than taking it from the default WP Featured Image copy?

    • This topic was modified 8 years, 3 months ago by Elvis Morales.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Return also Video Thumbnail Image ID’ is closed to new replies.