background_color() WordPress Function
The background_color() function is used to set the background color of an element. The function takes one parameter, which is the color value. The color value can be either a hexadecimal value or a color name.
background_color() #
Displays background color value.
Source
File: wp-includes/theme.php
function background_color() { echo get_background_color(); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |