WP_Posts_List_Table::get_sortable_columns() –

You appear to be a bot. Output may be restricted

Description

Usage

$array = WP_Posts_List_Table::get_sortable_columns();

Parameters

Returns

array

Source

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

1 to 8 of 8
  protected function get_sortable_columns() {
    return array(
      'title'    => 'title',
      'parent'   => 'parent',
      'comments' => 'comment_count',
      'date'     => array( 'date', true ),
    );
  }
 

 View on GitHub View on Trac