Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Working with the Video Object in the Advanced Custom Fields: 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