learndash_responsive_video_domains

apply_filters( 'learndash_responsive_video_domains',  array $video_domains )

Filters responsive video domains. Used to modify the supported domains for the responsive video.


Description #


Parameters #

$video_domains

(array) Array of video domains to support responsive video.


Source #

File: themes/ld30/includes/helpers.php


Examples #

 <?php
/**
 * Example usage for learndash_responsive_video_domains filter.
 */
add_filter(
	'learndash_responsive_video_domains',
	function( $video_domains ) {
		// May add any custom logic using $video_domains.

		// Always return $video_domains.
		return $video_domains;
	}
);