display_header_text(): bool
Whether to display the header text.
Return
bool
Source
File: wp-includes/theme.php
.
View all references
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;
}
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |