widget_form_callback

Advertisement

Summery Summery

Filters the widget instance’s settings before displaying the control form.

Syntax Syntax

apply_filters( 'widget_form_callback', array $instance, WP_Widget $this )

Description Description

Returning false effectively short-circuits display of the control form.

Parameters Parameters

$instance

(array) The current widget instance's settings.

$this

(WP_Widget) The current widget instance.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?