* * @link https://developer.wordpress.org/themes/functionality/custom-headers/ * * @package Best Minimalist */ /** * Set up the WordPress core custom header feature. * * @uses best_minimalist_header_style() */ function best_minimalist_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'best_minimalist_custom_header_args', array( 'default-image' => '', 'width' => 1980, 'height' => 250, 'flex-height' => true, 'flex-width' => true, ) ) ); } add_action( 'after_setup_theme', 'best_minimalist_custom_header_setup' );