Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Admin

SyncUI::trigger_sync()publicWC 1.0

Triggers a new migration.

Method of the class: SyncUI{}

No Hooks.

Return

null. Nothing (null).

Usage

$SyncUI = new SyncUI();
$SyncUI->trigger_sync();

SyncUI::trigger_sync() code WC 8.6.1

public function trigger_sync() {
	$this->security_check();
	wc_get_container()->get( Synchronize::class )->start();
}