WP_Comments_List_Table::get_sortable_columns(): array


Return

array


Top ↑

Source

File: wp-admin/includes/class-wp-comments-list-table.php. View all references

protected function get_sortable_columns() {
	return array(
		'author'   => array( 'comment_author', false, __( 'Author' ), __( 'Table ordered by Comment Author.' ) ),
		'response' => array( 'comment_post_ID', false, _x( 'In Response To', 'column name' ), __( 'Table ordered by Post Replied To.' ) ),
		'date'     => 'comment_date',
	);
}


Top ↑

User Contributed Notes

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