WP_MS_Users_List_Table::get_sortable_columns()protectedWP 1.0

Method of the class: WP_MS_Users_List_Table{}

No Hooks.

Return

Array.

Usage

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

WP_MS_Users_List_Table::get_sortable_columns() code WP 6.6.2

protected function get_sortable_columns() {
	return array(
		'username'   => array( 'login', false, __( 'Username' ), __( 'Table ordered by Username.' ), 'asc' ),
		'name'       => array( 'name', false, __( 'Name' ), __( 'Table ordered by Name.' ) ),
		'email'      => array( 'email', false, __( 'E-mail' ), __( 'Table ordered by E-mail.' ) ),
		'registered' => array( 'id', false, _x( 'Registered', 'user' ), __( 'Table ordered by User Registered Date.' ) ),
	);
}