has_header_video()
Checks whether a header video is set or not.
Description
See also
Return
(bool) Whether a header video is set or not.
Source
File: wp-includes/theme.php
function has_header_video() { return (bool) get_header_video_url(); }
Expand full source code Collapse full source code View on Trac View on GitHub
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |