has_header_video(): bool

Checks whether a header video is set or not.

Description

See also

Return

bool Whether a header video is set or not.

Source

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

Changelog

VersionDescription
4.7.0Introduced.

User Contributed Notes

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