On this page
remove_custom_background(): null|bool
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. View all references
function remove_custom_background() {
_deprecated_function( __FUNCTION__, '3.4.0', 'remove_theme_support( \'custom-background\' )' );
return remove_theme_support( 'custom-background' );
}
Related
Uses
| Uses | Description |
|---|---|
| remove_theme_support() wp-includes/theme.php | Allows a theme to de-register its support of a certain feature |
| _deprecated_function() wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
Changelog
| Version | Description |
|---|---|
| 3.4.0 | Use add_custom_background() |
| 3.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/remove_custom_background