Checks whether a header video is set or not.
Description
See also
Source
function has_header_video() {
return (bool) get_header_video_url();
}
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |
Checks whether a header video is set or not.
function has_header_video() {
return (bool) get_header_video_url();
}
Version | Description |
---|---|
4.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.