A WordPress-centric search engine for devs and theme authors



get_header_textcolor ›

Since2.1.0
Deprecatedn/a
get_header_textcolor ( No parameters )
Returns:
  • (string) Header text color in 3- or 6-digit hexadecimal form (minus the hash symbol).
Defined at:
Codex:

Retrieves the custom header text color in 3- or 6-digit hexadecimal form.



Source

function get_header_textcolor() {
	return get_theme_mod( 'header_textcolor', get_theme_support( 'custom-header', 'default-text-color' ) );
}