<?php

$video_url = get_field('video');

if( $video_url ): ?>
<?php
$video = wp_oembed_get( $video_url );
echo $video;
?>
<?php endif; ?>

Comments

Popular posts from this blog

Wordpress Interview Questions

PHP Interview Questions