wpseek.com
A WordPress-centric search engine for devs and theme authors



get_background_color › WordPress Function

Since3.0.0
Deprecatedn/a
get_background_color ( No parameters )
Returns:
  • (string)
Defined at:
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' ) );
}