Automattic\WooCommerce\Internal\Admin\Orders

ListTable::__construct()publicWC 1.0

Sets up the admin list table for orders (specifically, for orders managed by the OrdersTableDataStore).

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

No Hooks.

Return

null. Nothing.

Usage

$ListTable = new ListTable();
$ListTable->__construct();

Notes

  • See: WC_Admin_List_Table_Orders for the corresponding class used in relation to the traditional WP Post store.

Code of ListTable::__construct() WC 7.1.0

public function __construct() {
	parent::__construct(
		array(
			'singular' => 'order',
			'plural'   => 'orders',
			'ajax'     => false,
		)
	);
}