WP_Widget::_get_display_callback()
Retrieves the widget display callback.
Return
(callable) Display callback.
Source
File: wp-includes/class-wp-widget.php
public function _get_display_callback() { return array( $this, 'display_callback' ); }
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_widget/_get_display_callback