WordPress at a glance
filter is not described

widget_update_callback filter-hook . WP 2.8.0

Filters a widget's settings before saving.

Returning false will effectively short-circuit the widget's ability to update settings.


add_filter( 'widget_update_callback', 'filter_function_name_533', 10, 4 );
function filter_function_name_533( $instance, $new_instance, $old_instance, $widget ){
	// filter...

	return $instance;
The current widget instance's settings.
Array of new widget settings.
Array of old widget settings.
The current widget instance.


Since 2.8.0 Introduced.

Where the hook is called

wp-includes/class-wp-widget.php 462
$instance = apply_filters( 'widget_update_callback', $instance, $new_instance, $old_instance, $this );

Where in WP core the hook is used WordPress

Usage not found.