Used By
Used By | Description |
---|---|
wp-includes/widgets.php: dynamic_sidebar() | Display dynamic sidebar. |
Fires before a widget’s display callback is called.
Note: The action fires on both the front end and back end, including for widgets in the Inactive Widgets sidebar on the Widgets screen.
The action is not fired for empty sidebars.
(array) An associative array of widget arguments.
(string) Name of the widget.
(string) Widget ID.
(callable) When the hook is fired on the front end, $callback is an array containing the widget object. Fired on the back end, $callback is 'wp_widget_control', see $_callback.
(array) An associative array of multi-widget arguments.
(string) CSS class applied to the widget container.
(string) The widget description.
(array) When the hook is fired on the back end, $_callback is populated with an array containing the widget object, see $callback.
File: wp-includes/widgets.php
Version | Description |
---|---|
3.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/dynamic_sidebar