has_header_image(): bool
Checks 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
.
View all references
function has_header_image() {
return (bool) get_header_image();
}
Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Related:
header_image
get_header_image