get_background_color()WP 3.0.0

Retrieves value for custom background color.

No Hooks.

Return

String.

Usage

get_background_color();

Changelog

Since 3.0.0 Introduced.

get_background_color() code WP 6.5.4

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