get_background_color()WP 3.0.0

Retrieves value for custom background color.

Хуков нет.

Возвращает

Строку.

Использование

get_background_color();

Список изменений

С версии 3.0.0 Введена.

Код get_background_color() WP 6.4.3

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