WC_Admin_Log_Table_List::get_sortable_columns()protectedWC 1.0

Get a list of sortable columns.

Method of the class: WC_Admin_Log_Table_List{}

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_sortable_columns();

WC_Admin_Log_Table_List::get_sortable_columns() code WC 8.7.0

protected function get_sortable_columns() {
	return array(
		'timestamp' => array( 'timestamp', true ),
		'level'     => array( 'level', true ),
		'source'    => array( 'source', true ),
	);
}