On this page
WP_Widget::_get_display_callback(): callable
Retrieves the widget display callback.
Return
callable Display callback.
Source
File: wp-includes/class-wp-widget.php. View all references
public function _get_display_callback() {
return array( $this, 'display_callback' );
}
Related
Used By
| Used By | Description |
|---|---|
| WP_Widget::_register_one() wp-includes/class-wp-widget.php | Registers an instance of the widget class. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_widget/_get_display_callback