'', 'default-text-color' => '000000', 'width' => 1600, 'height' => 250, 'flex-height' => true, 'wp-head-callback' => [ $this, 'wp_head_callback' ], ] ) ); } /** * Outputs extra styles for the custom header, if necessary. */ public function wp_head_callback() { $header_text_color = get_header_textcolor(); if ( get_theme_support( 'custom-header', 'default-text-color' ) === $header_text_color ) { return; } if ( ! display_header_text() ) { echo ''; return; } echo ''; } }