<?php
/**
 * Sample implementation of the Custom Header feature
 *
 * You can add an optional custom header image to header.php like so ...
 *
	<?php the_header_image_tag(); ?>
 *
 * @link https://developer.wordpress.org/themes/functionality/custom-headers/
 *
 * @package KIS
 */

/**
 * Set up the WordPress core custom header feature.
 */
function kis_custom_header_setup() {
	$args = apply_filters(
		'kis_custom_header_args',
		array(
			'default-image' => '',
			'header-text'   => false,
			'flex-width'    => true,
			'width'         => 1000,
			'flex-height'   => true,
			'height'        => 288,
		)
	);
	add_theme_support( 'custom-header', $args );
}
add_action( 'after_setup_theme', 'kis_custom_header_setup' );
