* * @link https://developer.wordpress.org/themes/functionality/custom-headers/ * * @package Agensy */ /** * Set up the WordPress core custom header feature. * * @uses agensy_header_style() */ function agensy_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'agensy_custom_header_args', array( 'default-image' => '', 'default-text-color' => '#000000', 'width' => 1920, 'height' => 350, 'flex-height' => true, ) ) ); } add_action( 'after_setup_theme', 'agensy_custom_header_setup' );