get_header_video_url
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
wp-includes/theme.php 1674
$url = apply_filters( 'get_header_video_url', $url );