get_header_video_url
Filters the header video URL.
Использование
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(строка)
- Header video URL, if available.
Список изменений
С версии 4.7.3 | Введена. |
Где вызывается хук
get_header_video_url
wp-includes/theme.php 1674
$url = apply_filters( 'get_header_video_url', $url );