WP_Media_List_Table::get_sortable_columns() WordPress Method
The get_sortable_columns() method is used to retrieve the columns that are sortable in the Media List Table.
WP_Media_List_Table::get_sortable_columns() #
Return
(array)
Source
File: wp-admin/includes/class-wp-media-list-table.php
protected function get_sortable_columns() { return array( 'title' => 'title', 'author' => 'author', 'parent' => 'parent', 'comments' => 'comment_count', 'date' => array( 'date', true ), ); }
Expand full source codeCollapse full source codeView on TracView on GitHub