get_header_textcolor()
最后更新于:2021-11-26 09:11:56
get_header_textcolor()Retrieves the custom header text color in 3- or 6-digit hexadecimal form.
响应
(string) Header text color in 3- or 6-digit hexadecimal form (minus the hash symbol).
源文件
文件: gc-includes/theme.php
function get_header_textcolor() {
return get_theme_mod( 'header_textcolor', get_theme_support( 'custom-header', 'default-text-color' ) );
}