Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Admin

UI::setup()publicWC 1.0

Sets up the table, renders any notices and processes actions as needed.

Method of the class: UI{}

No Hooks.

Return

null. Nothing (null).

Usage

$UI = new UI();
$UI->setup();

UI::setup() code WC 8.6.1

public function setup() {
	if ( ! $this->is_download_urls_screen() ) {
		return;
	}

	$this->table = new Table();
	$this->admin_notices();
	$this->handle_search();
	$this->process_actions();
}