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



widget_display_callback › WordPress Filter Hooks

Since2.8.0
Deprecatedn/a
apply_filters( 'widget_display_callback', $instance, $this, $args )
Parameters: (3)
  • (array) $instance The current widget instance's settings.
    Required: Yes
  • (WP_Widget) $widget The current widget instance.
    Required: Yes
  • (array) $args An array of default widget arguments.
    Required: Yes
Defined at:
Codex:

Filters the settings for a particular widget instance.

Returning false will effectively short-circuit display of the widget.





Source

$instance = apply_filters( 'widget_display_callback', $instance, $this, $args );