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 #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?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; } );
Changelog #
Version | Description |
---|---|
3.0.0 | Introduced. |