$section_args =
apply_filters( 'customizer_widgets_section_args',
$section_args,
$section_id,
$sidebar_id );
$section =
new WP_Customize_Sidebar_Section( $this->manager,
$section_id,
$section_args );
$this->manager->
add_section( $section );
if ( $use_widgets_block_editor ) { $control =
new WP_Sidebar_Block_Editor_Control( $this->manager,
$setting_id,
array
( 'section' =>
$section_id,
'sidebar_id' =>
$sidebar_id,
'label' =>
$section_args['title'
],
'description' =>
$section_args['description'
],
) );
} else { $control =
new WP_Widget_Area_Customize_Control(