WordPress at Your Fingertips
function is not described

WC_Install::run_update_callback_start() protected WC 3.6.0

Triggered when a callback will run.

{} It's a method of the class: WC_Install{}

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 3.6.0 Introduced.

Code of WC_Install::run_update_callback_start() WC 5.7.1

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