get_header_video_url

get_header_video_url

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('get_header_video_url') is found 1 times:

  • /wp-includes/theme.php line 1674
    	 * @since 4.7.3
    	 *
    	 * @param string $url Header video URL, if available.
    	 */
    	$url = apply_filters( 'get_header_video_url', $url );
    
    	if ( ! $id && ! $url ) {
    		return false;
    	}
    
    	return sanitize_url( set_url_scheme( $url ) );