get_background_color()
Retrieves value for custom background color.
No Hooks.
Returns
String.
Usage
get_background_color();
Changelog
| Since 3.0.0 | Introduced. |
get_background_color() get background color code WP 7.0
function get_background_color() {
return get_theme_mod( 'background_color', get_theme_support( 'custom-background', 'default-color' ) );
}