has_header_image()WP 4.2.0

Check whether a header image is set or not.

No Hooks.

Return

true|false. Whether a header image is set or not.

Usage

has_header_image();

Notes

Changelog

Since 4.2.0 Introduced.

Code of has_header_image() WP 5.9.3

function has_header_image() {
	return (bool) get_header_image();
}