<?php
/**
 * Override default customizer panels, sections, settings and controls.
 *
 * @package Blogbuster
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

//managed the site identity section in header settings panel.

$wp_customize->get_section( 'title_tagline' )->priority = 10;
$wp_customize->get_section( 'title_tagline' )->panel    = 'blogbuster_panel_header';

$wp_customize->get_setting( 'blogname' )->transport         = 'postMessage';
$wp_customize->get_setting( 'blogdescription' )->transport  = 'postMessage';
$wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';

$wp_customize->get_control( 'header_textcolor' )->section    = 'title_tagline';
$wp_customize->get_control( 'header_textcolor' )->priority    = 20;

$wp_customize->get_section( 'header_image' )->priority = 15;
$wp_customize->get_section( 'header_image' )->panel     = 'blogbuster_panel_header';