Browse: Home / Hooks /


apply_filters( 'learndash_30_responsive_video',  string|int $responsive_video_setting )

Filters responsive videos setting value. Override the value of responsive video set in settings.

Description #

Parameters #


(string|int) Value is yes if enabled and empty string if disabled. Default is set to 0.

Source #

File: themes/ld30/includes/helpers.php

Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 * Example usage for learndash_30_responsive_video filter.
	function( $resonsive_video_setting ) {
		// May add any custom logic using $resonsive_video_setting.

		// Always return $resonsive_video_setting.
		return $resonsive_video_setting;

Changelog #

Version Description
3.0.1 Introduced.