Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mayukojpn/a7eefc2519265740c11728b32bcd711f to your computer and use it in GitHub Desktop.
Save mayukojpn/a7eefc2519265740c11728b32bcd711f to your computer and use it in GitHub Desktop.
<?php
$video_url = 'https://www.youtube.com/watch?v=b7mixrO2lzA';
echo wp_oembed_get($video_url);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment