get_background_color()

Retrieve value for custom background color.


Description Description


Return Return

(string)


Top ↑

Source Source

File: wp-includes/theme.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.