WP_Widget::_get_update_callback()publicWP 2.8.0

Retrieves the widget update callback.

Method of the class: WP_Widget{}

No Hooks.

Return

callable. Update callback.

Usage

$WP_Widget = new WP_Widget();
$WP_Widget->_get_update_callback();

Changelog

Since 2.8.0 Introduced.

WP_Widget::_get_update_callback() code WP 6.6.2

public function _get_update_callback() {
	return array( $this, 'update_callback' );
}