apply_filters( 'widget_form_callback', array $instance, WP_Widget $widget )

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


Description

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


Top ↑

Parameters

$instance array
The current widget instance's settings.
$widget WP_Widget
The current widget instance.

Top ↑

Source

File: wp-includes/class-wp-widget.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes

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