Automattic\WooCommerce\Internal\Admin\Orders

PageController::setup_action_list_orders()privateWC 1.0

Handles initialization of the orders list table.

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

No Hooks.

Return

null. Nothing.

Usage

// private - for code of main (parent) class only
$result = $this->setup_action_list_orders(): void;

Code of PageController::setup_action_list_orders() WC 7.1.0

private function setup_action_list_orders(): void {
	$this->orders_table = wc_get_container()->get( ListTable::class );
	$this->orders_table->setup();
	if ( $this->orders_table->current_action() ) {
		$this->orders_table->handle_bulk_actions();
	}

	$this->strip_http_referer();
}