Automattic\WooCommerce\Internal\Admin\Orders
PageController::setup_action_list_orders()
Handles initialization of the orders list table.
Метод класса: PageController{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
// private - только в коде основоного (родительского) класса $result = $this->setup_action_list_orders(): void;
Код PageController::setup_action_list_orders() PageController::setup action list orders WC 9.6.1
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(); }