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