get_header_textcolor(): string

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

Return

string Header text color in 3- or 6-digit hexadecimal form (minus the hash symbol).

Source

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

Changelog

VersionDescription
2.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.