WC_Admin_Log_Table_List::get_sortable_columns()protectedWC 1.0

Get a list of sortable columns.

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

Хуков нет.

Возвращает

Массив.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_sortable_columns();

Код WC_Admin_Log_Table_List::get_sortable_columns() WC 8.7.0

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