WP_Users_List_Table::get_sortable_columns() – Get a list of sortable columns for the list table.

You appear to be a bot. Output may be restricted

Description

Get a list of sortable columns for the list table.

Usage

$array = WP_Users_List_Table::get_sortable_columns();

Parameters

Returns

array Array of sortable columns.

Source

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

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

    return $c;
  }
 

 View on GitHub View on Trac