Filters the widget instance's settings before displaying the control form.
$instancearray$widgetWP_Widgetwp-includes/class-wp-widget.php:530WP_Widget::form_callback()wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php:582WP_REST_Widget_Types_Controller::get_widget_form()<?php * * @since 2.8.0 * * @param array $instance The current widget instance's settings. * @param WP_Widget $widget The current widget instance. */ $instance = apply_filters( 'widget_form_callback', $instance, $this ); $return = null; if ( false !== $instance ) { $return = $this->form( $instance ); Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.