Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Admin
SyncUI::trigger_sync
Triggers a new migration.
Method of the class: SyncUI{}
No Hooks.
Returns
null. Nothing (null).
Usage
$SyncUI = new SyncUI(); $SyncUI->trigger_sync();
SyncUI::trigger_sync() SyncUI::trigger sync code WC 10.7.0
public function trigger_sync() {
$this->security_check();
wc_get_container()->get( Synchronize::class )->start();
}