Filters the settings for a particular widget instance.
Description
Returning false will effectively short-circuit display of the widget.
Parameters
$instance
array- The current widget instance’s settings.
$widget
WP_Widget- The current widget instance.
$args
array- An array of default widget arguments.
Source
$instance = apply_filters( 'widget_display_callback', $instance, $this, $args );
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.