customizer_widgets_section_args WordPress Filter Hook

The customizer_widgets_section_args hook allows you to customize the arguments for a customizer widgets section. This hook is useful for setting up a customizer widgets section with specific options for your theme or plugin.

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

Filters Customizer widget section arguments for a given sidebar.


Parameters

$section_args

(array)Array of Customizer widget section arguments.

$section_id

(string)Customizer section ID.

$sidebar_id

(int|string)Sidebar ID.


Top ↑

Source

File: wp-includes/class-wp-customize-widgets.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More