Title: customizer_widgets_section_args
Published: April 25, 2014
Last modified: May 20, 2026

---

# apply_filters( ‘customizer_widgets_section_args’, array $section_args, string $section_id, int|string $sidebar_id )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/customizer_widgets_section_args/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/customizer_widgets_section_args/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/customizer_widgets_section_args/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/customizer_widgets_section_args/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/customizer_widgets_section_args/?output_format=md#wp--skip-link--target)

Filters Customizer widget section arguments for a given sidebar.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/customizer_widgets_section_args/?output_format=md#parameters)󠁿

 `$section_args`array

Array of Customizer widget section arguments.

`$section_id`string

Customizer section ID.

`$sidebar_id`int|string

Sidebar ID.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/customizer_widgets_section_args/?output_format=md#source)󠁿

    ```php
    $section_args = apply_filters( 'customizer_widgets_section_args', $section_args, $section_id, $sidebar_id );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/class-wp-customize-widgets.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/class-wp-customize-widgets.php#L475)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/class-wp-customize-widgets.php#L475-L475)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/customizer_widgets_section_args/?output_format=md#related)󠁿

| Used by | Description | 
| [WP_Customize_Widgets::customize_register()](https://developer.wordpress.org/reference/classes/wp_customize_widgets/customize_register/)`wp-includes/class-wp-customize-widgets.php` |

Registers Customizer settings and controls for all sidebars and widgets.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/customizer_widgets_section_args/?output_format=md#changelog)󠁿

| Version | Description | 
| [3.9.0](https://developer.wordpress.org/reference/since/3.9.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fcustomizer_widgets_section_args%2F)
before being able to contribute a note or feedback.