remove_custom_image_header

函式
remove_custom_image_header ( No parameters )
返回值
  • (null|bool) Whether support was removed.
相關
  • remove_theme_support()
定義位置
相關方法
add_custom_image_headerget_custom_headerremove_custom_backgroundremove_image_sizehas_custom_header
引入
3.1.0
棄用
3.4.0

remove_custom_image_header: 這個函式用來移除對WordPress中的自定義圖片頭的支援。自定義圖片頭像用於自定義WordPress網站的頭像: 這個函式不需要引數。

移除圖片標題支援。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function remove_custom_image_header() {
_deprecated_function( __FUNCTION__, '3.4.0', 'remove_theme_support( 'custom-header' )' );
return remove_theme_support( 'custom-header' );
}
function remove_custom_image_header() { _deprecated_function( __FUNCTION__, '3.4.0', 'remove_theme_support( 'custom-header' )' ); return remove_theme_support( 'custom-header' ); }
function remove_custom_image_header() {
	_deprecated_function( __FUNCTION__, '3.4.0', 'remove_theme_support( 'custom-header' )' );
	return remove_theme_support( 'custom-header' );
}

常見問題

FAQs
檢視更多 >