Filters the settings for a particular widget instance.
Returning false will effectively short-circuit display of the widget.
$instancearray
$widgetWP_Widget
$argsarray
$instance = apply_filters( 'widget_display_callback', $instance, $this, $args );
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/widget_display_callback