Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Admin
UI::setup()
Sets up the table, renders any notices and processes actions as needed.
Метод класса: UI{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$UI = new UI(); $UI->setup();
Код UI::setup() UI::setup WC 7.5.1
public function setup() { if ( ! $this->is_download_urls_screen() ) { return; } $this->table = new Table(); $this->admin_notices(); $this->handle_search(); $this->process_actions(); }