* * @link https://developer.wordpress.org/themes/functionality/custom-headers/ * * @package Blog_Build */ /** * Set up the WordPress core custom header feature. * * @uses blog_build_header_style() */ function blog_build_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'blog_build_custom_header_args', array( 'default-image' => '', 'default-text-color' => '000000', 'width' => 1200, 'height' => 250, 'flex-height' => true, 'wp-head-callback' => '', ) ) ); } add_action('after_setup_theme', 'blog_build_custom_header_setup');