widget_update_callback

widget_update_callback

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('widget_update_callback') is found 1 times:

  • /wp-includes/class-wp-widget.php line 476
    				 * @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.
    				 */
    				$instance = apply_filters( 'widget_update_callback', $instance, $new_instance, $old_instance, $this );
    
    				if ( false !== $instance ) {
    					$all_instances[ $number ] = $instance;
    				}
    
    				break; // Run only once.
    

See this hook used in plugins: