apply_filters( ‘widget_form_callback’, array $instance, WP_Widget $widget )

In this article

Filters the widget instance’s settings before displaying the control form.

Description

Returning false effectively short-circuits display of the control form.

Parameters

$instancearray
The current widget instance’s settings.
$widgetWP_Widget
The current widget instance.

Source

$instance = apply_filters( 'widget_form_callback', $instance, $this );

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.