A WordPress-centric search engine for devs and theme authors



get_background_image ›

Since3.0.0
Deprecatedn/a
get_background_image ( No parameters )
Returns:
  • (string)
Defined at:
Codex:

Retrieve background image for custom background.



Source

function get_background_image() {
	return get_theme_mod('background_image', get_theme_support( 'custom-background', 'default-image' ) );
}