Filter hook 'dynamic_sidebar_params'
in WP Core File wp-includes/widgets.php at line 813
Description
Filters the parameters passed to a widget's display callback. Note: The filter is evaluated on both the front end and back end, including for the Inactive Widgets sidebar on the Widgets screen. An array of widget display arguments. } An array of multi-widget arguments. } }
Occurrences
Filename |
Line Number |
wp-includes/widgets.php |
813 |
wp-includes/widgets.php |
2031 |
Parameters
Type |
Name |
Description |
array |
$params |
{ |
PHP Doc
/**
* Filters the parameters passed to a widget's display callback.
*
* Note: The filter is evaluated on both the front end and back end,
* including for the Inactive Widgets sidebar on the Widgets screen.
*
* @since 2.5.0
*
* @see register_sidebar()
*
* @param array $params {
* @type array $args {
* An array of widget display arguments.
*
* @type string $name Name of the sidebar the widget is assigned to.
* @type string $id ID of the sidebar the widget is assigned to.
* @type string $description The sidebar description.
* @type string $class CSS class applied to the sidebar container.
* @type string $before_widget HTML markup to prepend to each widget in the sidebar.
* @type string $after_widget HTML markup to append to each widget in the sidebar.
* @type string $before_title HTML markup to prepend to the widget title when displayed.
* @type string $after_title HTML markup to append to the widget title when displayed.
* @type string $widget_id ID of the widget.
* @type string $widget_name Name of the widget.
* }
* @type array $widget_args {
* An array of multi-widget arguments.
*
* @type int $number Number increment used for multiples of the same widget.
* }
* }
*/