'', 'default-image' => '', // Set height and width, with a maximum value for the width. 'height' => apply_filters( 'ambition_header_image_height', 300 ), 'width' => apply_filters( 'ambition_header_image_width', 1170 ), 'max-width' => 2000, // for backend custom header // Support flexible height and width. 'flex-height' => true, 'flex-width' => true, // Random image rotation off by default. 'random-default' => false, // No Header Text Feature 'header-text' => false, // Callbacks for styling the header and the admin preview. 'wp-head-callback' => '', 'admin-head-callback' => 'ambition_admin_header_style', 'admin-preview-callback' => 'ambition_admin_header_image', ); add_theme_support( 'custom-header', $args ); } /** * Styles the header image displayed on the Appearance > Header admin panel. * * @since Ambition 1.0 */ function ambition_admin_header_style() { ?> Header admin panel. * This callback overrides the default markup displayed there. * * @since Ambition 1.0 */ function ambition_admin_header_image() { ?>