<?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 Synchronization
 */

/**
 * Set up the WordPress core custom header feature.
 *
 * @uses synchronization_header_style()
 */
function synchronization_custom_header_setup() {
	add_theme_support( 'custom-header', apply_filters( 'synchronization_custom_header_args', array(
		'default-image'          => get_parent_theme_file_uri( '/images/header.jpg' ),
		'default-text-color'     => 'ffffff',
		'width'                  => 2000,
		'height'                 => 500,
		'flex-height'            => true,
		'wp-head-callback'       => 'synchronization_header_style',
	) ) );
}
add_action( 'after_setup_theme', 'synchronization_custom_header_setup' );

