wpseek.com
A WordPress-centric search engine for devs and theme authors



display_header_text › WordPress Function

Since3.4.0
Deprecatedn/a
display_header_text ( No parameters )
Returns:
  • (bool)
Defined at:
Codex:

Whether to display the header text.



Source

function display_header_text() {
	if ( ! current_theme_supports( 'custom-header', 'header-text' ) ) {
		return false;
	}

	$text_color = get_theme_mod( 'header_textcolor', get_theme_support( 'custom-header', 'default-text-color' ) );
	return 'blank' !== $text_color;
}