WP_MS_Themes_List_Table::get_sortable_columns(): array<string,

In this article

Gets the list of sortable columns for the list table.

Return

array<string, array<int, mixed>> An array of sortable columns.

Source

protected function get_sortable_columns() {
	return array(
		'name' => array( 'name', false, __( 'Theme' ), __( 'Table ordered by Theme Name.' ), 'asc' ),
	);
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.