* * @link https://developer.wordpress.org/themes/functionality/custom-headers/ * * @package AcmePhoto */ /** * Set up the WordPress core custom header feature. * * @uses acmephoto_header_style() */ function acmephoto_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'acmephoto_custom_header_args', array( 'default-image' => '', 'width' => 1920, 'height' => 1280, 'flex-height' => true ) ) ); } add_action( 'after_setup_theme', 'acmephoto_custom_header_setup' );