public function _sanitize_header_textcolor($color) { if ('blank' === $color) { return 'blank'; } $color = sanitize_hex_color_no_hash($color); if (empty($color)) { $color = get_theme_support('custom-header', 'default-text-color'); } return $color; }