Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Admin
SyncUI::trigger_sync()
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() SyncUI::trigger sync code WC 9.5.1
public function trigger_sync() { $this->security_check(); wc_get_container()->get( Synchronize::class )->start(); }