widget_display_callback

Advertisement

Summery Summery

Filters the settings for a particular widget instance.

Syntax Syntax

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

Description Description

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

Parameters Parameters

$instance

The current widget instance's settings.

$this

The current widget instance.

$args

An array of default widget arguments.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply