// Add partial for blogdescription.
$wp_customize->selective_refresh->
add_partial( 'blogdescription',
array
( 'selector' => '.site-description',
'render_callback' => array
( $this, 'partial_blogdescription'
),
) );
// Add "display_title_and_tagline" setting for displaying the site-title & tagline.
$wp_customize->
add_setting( 'display_title_and_tagline',
array
( 'capability' => 'edit_theme_options',
'default' => true,
'sanitize_callback' => array
( __CLASS__, 'sanitize_checkbox'
),
) );
// Add control for the "display_title_and_tagline" setting.
$wp_customize->
add_control( 'display_title_and_tagline',