Error using add_filter(‘pre_option_widget_text’, ‘function’)
-
i am trying to add the following filter in a plugin
add_filter('pre_option_widget_text', 'some_function');
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
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Error using add_filter(‘pre_option_widget_text’, ‘function’)’ is closed to new replies.