apply_filters( 'widget_display_callback', array $instance, WP_Widget $widget, array $args )

Filters the settings for a particular widget instance.


Description Description

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


Top ↑

Parameters Parameters

$instance

(array) The current widget instance's settings.

$widget

(WP_Widget) The current widget instance.

$args

(array) An array of default widget arguments.


Top ↑

Source Source

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

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

You must log in before being able to contribute a note or feedback.