WordPress at a glance
filter is not described

widget_display_callback filter-hook . WP 2.8.0

Filters the settings for a particular widget instance.

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


add_filter( 'widget_display_callback', 'filter_function_name_6276', 10, 3 );
function filter_function_name_6276( $instance, $this, $args ){
	// filter...

	return $instance;
The current widget instance's settings.
The current widget instance.
An array of default widget arguments.

Where the hook is called

wp-includes/class-wp-widget.php 367
$instance = apply_filters( 'widget_display_callback', $instance, $this, $args );

Where the hook is used (in WP core)

Использование не найдено.