wpseek.com
A WordPress-centric search engine for devs and theme authors



get_background_image › WordPress Function

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

Retrieves background image for custom background.



Source

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