Automattic\WooCommerce\Internal\Admin\Orders

ListTable::get_sortable_columns()publicWC 1.0

Defines the default sortable columns.

Method of the class: ListTable{}

No Hooks.

Return

String[].

Usage

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

ListTable::get_sortable_columns() code WC 7.1.1

public function get_sortable_columns() {
	return array(
		'order_number' => 'ID',
		'order_date'   => 'date',
		'order_total'  => 'order_total',
	);
}