WordPress at Your Fingertips
function is not described

WP_Users_List_Table::get_sortable_columns() protected WP 3.1.0

Get a list of sortable columns for the list table.

{} It's a method of the class: WP_Users_List_Table{}

No Hooks.


Array. Array of sortable columns.


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


Since 3.1.0 Introduced.

Code of WP_Users_List_Table::get_sortable_columns() WP 5.8.2

protected function get_sortable_columns() {
	$c = array(
		'username' => 'login',
		'email'    => 'email',

	return $c;