WPCF7_List_Table::get_sortable_columns
Метод класса: WPCF7_List_Table{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_sortable_columns();
Код WPCF7_List_Table::get_sortable_columns() WPCF7 List Table::get sortable columns CF7 6.2.4.1
protected function get_sortable_columns() {
return array(
'title' => array(
'title',
false,
__( 'Title', 'contact-form-7' ),
__( 'Table ordered by Title.', 'contact-form-7' ),
'asc',
),
'author' => array(
'author',
false,
__( 'Author', 'contact-form-7' ),
__( 'Table ordered by Author.', 'contact-form-7' ),
),
'date' => array(
'date',
true,
__( 'Date', 'contact-form-7' ),
__( 'Table ordered by Date.', 'contact-form-7' ),
),
);
}