*/ function atomy_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'atomy_custom_header_args', array( 'default-image' => '', 'default-text-color' => '000000', 'width' => 1000, 'height' => 250, 'flex-height' => true, 'wp-head-callback' => 'atomy_header_style', ) ) ); } add_action( 'after_setup_theme', 'atomy_custom_header_setup' ); if ( ! function_exists( 'atomy_header_style' ) ) : function atomy_header_style() { $header_text_color = get_header_textcolor(); if ( get_theme_support( 'custom-header', 'default-text-color' ) === $header_text_color ) { return; } ?>