* * @link https://developer.wordpress.org/themes/functionality/custom-headers/ * * @package Affiliate Eye */ /** * Set up the WordPress core custom header feature. * * @uses affiliate_eye_header_style() */ function affiliate_eye_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'affiliate_eye_custom_header_args', array( 'default-image' => '', 'default-text-color' => '000000', 'width' => 1800, 'height' => 250, 'flex-height' => true, ) ) ); } add_action('after_setup_theme', 'affiliate_eye_custom_header_setup');