Warning: This function has been deprecated. Use add_custom_background() instead.

remove_custom_background() WordPress Function

The remove_custom_background() function is a WordPress function that allows you to remove a custom background image from your WordPress site. This function is useful if you want to remove a custom background image that you have set up for your site, but no longer want to use.

remove_custom_background() #

Remove custom background support.


Description

Top ↑

See also


Top ↑

Return

(null|bool) Whether support was removed.


Top ↑

Source

File: wp-includes/deprecated.php

function remove_custom_background() {
	_deprecated_function( __FUNCTION__, '3.4.0', 'remove_theme_support( \'custom-background\' )' );
	return remove_theme_support( 'custom-background' );
}


Top ↑

Changelog

Changelog
VersionDescription
3.4.0Use add_custom_background()
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More