has_header_video(): bool

Checks whether a header video is set or not.

Description

See also

get_header_video_url()

Return

bool Whether a header video is set or not.

Source

File: wp-includes/theme.php.

View all references

function has_header_video() {

return (bool) get_header_video_url();

}

Leave a Reply

Your email address will not be published. Required fields are marked *