函数原型
remove_custom_image_header(): null|bool
函数描述
Remove image header support.
是否弃用
Warning: This function has been deprecated. Use remove_theme_support() instead.
函数参数
无
函数返回值
null|bool Whether support was removed.
函数位置
File: wp-includes/deprecated.php.
函数源码
function remove_custom_image_header() {
_deprecated_function( __FUNCTION__, '3.4.0', 'remove_theme_support( \'custom-header\' )' );
return remove_theme_support( 'custom-header' );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 3.4.0 | Use remove_theme_support() |
| 3.1.0 | Introduced. |

