Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/class-wp-widget.php | apply_filters | 476 | /** * Filters a widget's settings before saving. * * Returning false will effectively short-circuit the widget's ability * to update settings. * * @since 2.8.0 * * @param array $instance The current widget instance's settings. * @param array $new_instance Array of new widget settings. * @param array $old_instance Array of old widget settings. * @param WP_Widget $widget The current widget instance. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
array | $instance | The current widget instance's settings. |
array | $new_instance | Array of new widget settings. |
array | $old_instance | Array of old widget settings. |
WP_Widget | $widget | The current widget instance. |