Automattic\WooCommerce\Internal\Admin\Orders
PageController::setup_action_list_orders()
Handles initialization of the orders list table.
Method of the class: PageController{}
No Hooks.
Return
null
. Nothing (null).
Usage
// private - for code of main (parent) class only $result = $this->setup_action_list_orders(): void;
PageController::setup_action_list_orders() PageController::setup action list orders code WC 9.6.0
private function setup_action_list_orders(): void { $this->orders_table = wc_get_container()->get( ListTable::class ); $this->orders_table->setup( array( 'order_type' => $this->order_type, ) ); if ( $this->orders_table->current_action() ) { $this->orders_table->handle_bulk_actions(); } $this->strip_http_referer(); }