wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



has_custom_header › WordPress Function

Da4.7.0
Deprecaton/a
has_custom_header ( Nessun parametro )
Ritorna:
  • (bool) True if a custom header is set. False if not.
Definito a:
Codex:

Checks whether a custom header is set or not.



Sorgenti

function has_custom_header() {
	if ( has_header_image() || ( has_header_video() && is_header_video_active() ) ) {
		return true;
	}

	return false;
}