get_background_image()
Retrieve background image for custom background.
Used By: background_image()
1 time — 0.004724 sec (very slow) | 50000 times — 4.45 sec (fast) | PHP 7.2.5, WP 5.0
No Hooks.
Return
String
.
Usage
get_background_image();
Changelog
Since 3.0.0 | Introduced. |
Code of get_background_image() get background image WP 6.0
function get_background_image() { return get_theme_mod( 'background_image', get_theme_support( 'custom-background', 'default-image' ) ); }