WP_Comments_List_Table::get_sortable_columns()protectedWP 1.0

Метод класса: WP_Comments_List_Table{}

Хуков нет.

Возвращает

Массив.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_sortable_columns();

Код WP_Comments_List_Table::get_sortable_columns() WP 6.5.2

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