WP_Widget::_get_form_callback() WordPress Method

The WP_Widget::_get_form_callback() method is used to display the widget form in the admin panel. The form is displayed in the widget settings area.

WP_Widget::_get_form_callback() #

Retrieves the form callback.


Return

(callable) Form callback.


Top ↑

Source

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

	public function _get_form_callback() {
		return array( $this, 'form_callback' );
	}


Top ↑

Changelog

Changelog
VersionDescription
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.