WP_List_Table::get_sortable_columns()

Gets a list of sortable columns.


Description

The format is:

  • 'internal-name' => 'orderby'
  • 'internal-name' => array( 'orderby', 'asc' ) – The second element sets the initial sorting order.
  • 'internal-name' => array( 'orderby', true ) – The second element makes the initial order descending.

Return

(array)


Source

File: wp-admin/includes/class-wp-list-table.php

	protected function get_sortable_columns() {
		return array();
	}


Changelog

Changelog
Version Description
3.1.0 Introduced.