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).

Method of the class: ListTable{}

No Hooks.

Return

null. Nothing (null).

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.

ListTable::__construct() code WC 8.7.0

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