background_image() WordPress Function
The background_image() function is used to set the background image for a Wordpress site. This function can be used in conjunction with the background_color() function to create a custom background for a Wordpress site.
background_image() #
Displays background image path.
Source
File: wp-includes/theme.php
function background_image() { echo get_background_image(); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |