W3cubDocs

/WordPress

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 ),
		);
	}

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_media_list_table/get_sortable_columns