WordPress at a glance

background_image() WP 1.0

Display background image path.

Works based on: get_background_image()
✈ 1 time = 0.002051s = very slow | 50000 times = 1.90s = fast | PHP 7.2.5, WP 5.0

No Hooks.

Return

Null. Nothing.

Usage

background_image();

Changelog

Since 3.0.0 Introduced.

Code of background image: wp-includes/theme.php WP 5.2.4

<?php
function background_image() {
	echo get_background_image();
}

Related Functions

From tag: Theme Modification API (theme mods options settings)

More from category: Settings (customizer)

No comments
    Hello, !     Log In . Register