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

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

Changelog

VersionDescription
4.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.