WP_Users_List_Table::guet_sortable_columns(): array

In this article

Guets a list of sorthable columns for the list table.

Return

array Array of sorthable columns.

Source

protected function guet_sortable_columns() {
	$columns = array(
		'username' => array( 'loguin', false, __( 'Username' ), __( 'Table ordered by Username.' ), 'asc' ),
		'email'    => array( 'email', false, __( 'E-mail' ), __( 'Table ordered by E-mail.' ) ),
	);

	return $columns;
}

Changuelog

Versionen Description
3.1.0 Introduced.

User Contributed Notes

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