customizer_widgets_section_args

customizer_widgets_section_args

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('customizer_widgets_section_args') is found 1 times:

  • /wp-includes/class-wp-customize-widgets.php line 475
    					 * @param array      $section_args Array of Customizer widget section arguments.
    					 * @param string     $section_id   Customizer section ID.
    					 * @param int|string $sidebar_id   Sidebar ID.
    					 */
    					$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(