has_header_image()

Checks whether a header image is set or not.


Description Description

See also See also


Top ↑

Return Return

(bool) Whether a header image is set or not.


Top ↑

Source Source

File: wp-includes/theme.php

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


Top ↑

Changelog Changelog

Changelog
Version Description
4.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes