W3cubDocs

/WordPress

remove_custom_background()

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

Remove custom background support.

Description

See also

Return

(null|bool) Whether support was removed.

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' );
}

Changelog

Version Description
3.4.0 Use add_custom_background()
3.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/remove_custom_background