wpseek.com
A WordPress-centric search engine for devs and theme authors



widget_form_callback › WordPress Filter Hooks

Since2.8.0
Deprecatedn/a
apply_filters( 'widget_form_callback', $instance, $this )
Parameters: (2)
  • (array) $instance The current widget instance's settings.
    Required: Yes
  • (WP_Widget) $widget The current widget instance.
    Required: Yes
Defined at:
Codex:

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

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





Source

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