WP_Users_List_Table::get_sortable_columns()

Get a list of sortable columns for the list table.


Return Return

(array) Array of sortable columns.


Top ↑

Source Source

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

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

		return $c;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.