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.
Source
File: wp-includes/class-wp-widget.php
public function _get_form_callback() {
return array( $this, 'form_callback' );
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |