WordPress at Your Fingertips

background_image() WP 1.0

Display background image path.

1 time — 0.002051 sec (very slow) | 50000 times — 1.90 sec (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 5.8

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

From tag: theme background (color image)

More from tag: Theme Modification API (theme mods options settings)

More from category: Settings (customizer)

No comments
    Log In