has_header_image(): bool

Checks whether a header image is set or not.


Description

Top ↑

See also


Top ↑

Return

bool Whether a header image is set or not.


Top ↑

Source

File: wp-includes/theme.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
4.2.0 Introduced.

Top ↑

User Contributed Notes