WordPress at Your Fingertips
filter is not described

sidebars_widgets filter-hook . WP 2.7.0

Filters the list of sidebars and their widgets.

Usage

add_filter( 'sidebars_widgets', 'filter_function_name_569' );
function filter_function_name_569( $sidebars_widgets ){
	// filter...

	return $sidebars_widgets;
}
$sidebars_widgets(array)
An associative array of sidebars and their widgets.

Changelog

Since 2.7.0 Introduced.

Where the hook is called

wp_get_sidebars_widgets()
sidebars_widgets
wp-includes/widgets.php 1027
return apply_filters( 'sidebars_widgets', $sidebars_widgets );

Where in WP core the hook is used WordPress

wp-includes/class-wp-customize-widgets.php 1861
add_filter( 'sidebars_widgets', $filter_callback, 1000 );
wp-includes/class-wp-customize-widgets.php 1870
remove_filter( 'sidebars_widgets', $filter_callback, 1000 );
wp-includes/class-wp-customize-widgets.php 371
add_filter( 'sidebars_widgets', array( $this, 'preview_sidebars_widgets' ), 1 );