Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Working with the Video Object in the Advanced Custom Fields: YouTube Field. http://halgatewood.com/downloads/acf-youtube-field/
$video = get_field('youtube_video');
echo "<h1>" . $video->title . "</h1>";
echo "<p>" . $video->desc . "</p>";
echo $video->embed;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.