Uses
| Uses | Description |
|---|---|
| wp-includes/theme.php: get_header_video_url() | Retrieves header video URL for custom header. |
Checks whether a header video is set or not.
(bool) Whether a header video is set or not.
File: wp-includes/theme.php
function has_header_video() {
return (bool) get_header_video_url();
} | Version | Description |
|---|---|
| 4.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/has_header_video