header_video_settings filter-hookWP 4.7.0

Filters header video settings.

Usage

add_filter( 'header_video_settings', 'wp_kama_header_video_settings_filter' );

/**
 * Function for `header_video_settings` filter-hook.
 * 
 * @param array $settings An array of header video settings.
 *
 * @return array
 */
function wp_kama_header_video_settings_filter( $settings ){

	// filter...
	return $settings;
}
$settings(array)
An array of header video settings.

Changelog

Since 4.7.0 Introduced.

Where the hook is called

get_header_video_settings()
header_video_settings
wp-includes/theme.php 1649
return apply_filters( 'header_video_settings', $settings );

Where the hook is used in WordPress

Usage not found.