Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Admin

SyncUI::clear_existing_entries()publicWC 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 8.7.0

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