* * @package Structure */ /** * Setup the WordPress core custom header feature. * * @package Structure */ function structure_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'structure_custom_header_args', array( 'default-text-color' => '999', 'width' => 960, 'height' => 120, 'flex-height' => true, 'wp-head-callback' => 'header_style', 'admin-head-callback' => 'structure_admin_header_style', ) ) ); } add_action( 'after_setup_theme', 'structure_custom_header_setup' ); /** * Styles the header image displayed on the Appearance > Header admin panel. * * @see structure_custom_header_setup(). */ function structure_admin_header_style() { ?>