Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Admin

SyncUI::clear_existing_entriespublicWC 1.0

Clears all existing rules from the Approved Directories list.

Метод класса: SyncUI{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

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

Код SyncUI::clear_existing_entries() WC 9.9.3

public function clear_existing_entries() {
	$this->security_check();
	$this->register->delete_all();
}