sidebars_widgets WordPress Filter Hook
The sidebars_widgets hook is used to register sidebars and widgets for a Wordpress site. This hook is called when a sidebar is registered or a widget is added to a sidebar.
apply_filters( 'sidebars_widgets', array $sidebars_widgets ) #
Filters the list of sidebars and their widgets.
Parameters
- $sidebars_widgets
(array)An associative array of sidebars and their widgets.
Source
File: wp-includes/widgets.php
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |