Used By
Used By | Description |
---|---|
wp-admin/includes/class-wp-list-table.php: WP_List_Table::get_column_info() | Gets a list of all, hidden and sortable columns, with filter applied. |
Gets a list of sortable columns.
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.(array)
File: wp-admin/includes/class-wp-list-table.php
protected function get_sortable_columns() { return array(); }
Version | Description |
---|---|
3.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_list_table/get_sortable_columns