WordPress at Your Fingertips
function is not described

WP_Posts_List_Table::get_sortable_columns() protected WP 1.0

{} It's a method of the class: WP_Posts_List_Table{}

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_sortable_columns();

Code of WP_Posts_List_Table::get_sortable_columns() WP 5.8.2

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