has_header_video()

Check whether a header video is set or not.


Description Description

See also See also


Top ↑

Return Return

(bool) Whether a header video is set or not.


Top ↑

Source Source

File: wp-includes/theme.php

function has_header_video() {
	return (bool) get_header_video_url();
}


Top ↑

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.