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

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


Description

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


Parameters

$instance

(array) The current widget instance's settings.

$this

(WP_Widget) The current widget instance.


Top ↑

Source

File: wp-includes/class-wp-widget.php

View on Trac


Top ↑

Changelog

Version Description
2.8.0 Introduced.