* * @package bloggingwarrior */ /** * Set up the WordPress core custom header feature. */ function bloggingwarrior_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'bloggingwarrior_custom_header_args', array( 'default-image' => get_template_directory_uri() . '/images/hb.png', 'width' => 1920, 'height' => 1080, 'flex-height' => true, 'header-text' => false, ) ) ); } add_action( 'after_setup_theme', 'bloggingwarrior_custom_header_setup' );