has_header_image()
Check whether a header image is set or not.
Description
See also
Return
(bool) Whether a header image is set or not.
Source
File: wp-includes/theme.php
function has_header_image() { return (bool) get_header_image(); }
Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |
Related:
header_image
get_header_image