wpseek.com
WordPress开发者和主题制作者的搜索引擎



get_header_textcolor › WordPress Function

Since2.1.0
已弃用n/a
get_header_textcolor ( 没有参数 )
返回:
  • (string) Header text color in 3- or 6-digit hexadecimal form (minus the hash symbol).
定义在:
文档:

Retrieves the custom header text color in 3- or 6-digit hexadecimal form.



源码

function get_header_textcolor() {
	return get_theme_mod( 'header_textcolor', get_theme_support( 'custom-header', 'default-text-color' ) );
}