函数原型
remove_custom_background(): null|bool
函数描述
Remove custom background support.
是否弃用
Warning: This function has been deprecated. Use add_custom_background() instead.
函数参数
无
函数返回值
null|bool Whether support was removed.
函数位置
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' );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 3.4.0 | Use add_custom_background() |
| 3.1.0 | Introduced. |

