W3cubDocs

/WordPress

the_header_video_url()

Display header video URL.

Description

Source

File: wp-includes/theme.php

function the_header_video_url() {
	$video = get_header_video_url();
	if ( $video ) {
		echo esc_url( $video );
	}
}

Changelog

Version Description
4.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_header_video_url