W3cubDocs

/WordPress

background_image()

Displays background image path.

Source

File: wp-includes/theme.php

function background_image() {
	echo get_background_image();
}

Changelog

Version Description
3.0.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/background_image