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



get_background_color › WordPress Function

Depuis3.0.0
Dépréciéen/a
get_background_color ( Pas de paramètres )
Retourne:
  • (string)
Défini(e) dans:
Codex:

Retrieves value for custom background color.



Source

function get_background_color() {
	return get_theme_mod( 'background_color', get_theme_support( 'custom-background', 'default-color' ) );
}