Get a list of sortable columns for the list table.
(array) Array of sortable columns.
File: wp-admin/includes/class-wp-users-list-table.php
protected function get_sortable_columns() { $c = array( 'username' => 'login', 'email' => 'email', ); return $c; }
Version | Description |
---|---|
3.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_users_list_table/get_sortable_columns