On this page
apply_filters( 'dynamic_sidebar_params', array $params )
Filters the parameters passed to a widget’s display callback.
Description
Note: The filter is evaluated on both the front end and back end, including for the Inactive Widgets sidebar on the Widgets screen.
See also
Parameters
$paramsarray-
argsarrayAn array of widget display arguments.namestringName of the sidebar the widget is assigned to.idstringID of the sidebar the widget is assigned to.descriptionstringThe sidebar description.classstringCSS class applied to the sidebar container.before_widgetstringHTML markup to prepend to each widget in the sidebar.after_widgetstringHTML markup to append to each widget in the sidebar.before_titlestringHTML markup to prepend to the widget title when displayed.after_titlestringHTML markup to append to the widget title when displayed.widget_idstringID of the widget.widget_namestringName of the widget.
widget_argsarrayAn array of multi-widget arguments.numberintNumber increment used for multiples of the same widget.
Source
File:
wp-includes/widgets.php. View all references$params = apply_filters( 'dynamic_sidebar_params', $params );Related
Used By
Used By Description wp_render_widget() wp-includes/widgets.php Calls the render callback of a widget and returns the output.
dynamic_sidebar() wp-includes/widgets.php Display dynamic sidebar.
Changelog
Version Description 2.5.0 Introduced.
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/dynamic_sidebar_params