get_header_video_url filter-hookWP 4.7.3

Filters the header video URL.

Usage

add_filter( 'get_header_video_url', 'wp_kama_get_header_video_url_filter' );

/**
 * Function for `get_header_video_url` filter-hook.
 * 
 * @param string $url Header video URL, if available.
 *
 * @return string
 */
function wp_kama_get_header_video_url_filter( $url ){

	// filter...
	return $url;
}
$url(string)
Header video URL, if available.

Changelog

Since 4.7.3 Introduced.

Where the hook is called

get_header_video_url()
get_header_video_url
wp-includes/theme.php 1586
$url = apply_filters( 'get_header_video_url', $url );

Where the hook is used in WordPress

Usage not found.