Checks whether a header image is set or not.
Description
See also
Source
function has_header_image() {
return (bool) get_header_image();
}
Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |
CARVIEW |
Checks whether a header image is set or not.
function has_header_image() {
return (bool) get_header_image();
}
Uses | Description |
---|---|
get_header_image()wp-includes/theme.php | Retrieves header image for custom header. |
Used by | Description |
---|---|
has_custom_header()wp-includes/theme.php | Checks whether a custom header is set or not. |
Version | Description |
---|---|
4.2.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
Related:
header_image
get_header_image