WC_Install::run_update_callback_start()protected staticWC 3.6.0

Triggered when a callback will run.

Method of the class: WC_Install{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Install::run_update_callback_start( $callback );
$callback(string) (required)
Callback name.

Changelog

Since 3.6.0 Introduced.

WC_Install::run_update_callback_start() code WC 9.4.2

protected static function run_update_callback_start( $callback ) {
	wc_maybe_define_constant( 'WC_UPDATING', true );
}