If a YouTube or Vimeo video exists in the first few paragraphs of a post, automatically set the post's featured image to that vidoe's thumbnail.
33
stars
24
forks
source link
Update video provider URLs to use HTTPS where appropriate #58
Closed
tw2113 closed 3 years ago
Example:
$vimeo_data = wp_remote_get( 'http://www.vimeo.com/api/v2/video/' . intval( $vimeo_id ) . '.php' );