i am trying to add the following filter in a plugin
this causes the following error to appear at the top of the admin and site.
Warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/wordpress-test/wp-includes/widgets.php on line 1044
does anyone have an example of using this filter or can provide any help? Thanks