Replies: 0
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 16 minutes ago by
Elvis Morales.