wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



get_header_textcolor › WordPress Function

Depuis2.1.0
Dépréciéen/a
get_header_textcolor ( Pas de paramètres )
Retourne:
  • (string) Header text color in 3- or 6-digit hexadecimal form (minus the hash symbol).
Défini(e) dans:
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' ) );
}