WP_List_Table::get_columnspublicWP 3.1.0

Gets a list of columns.

The format is:

  • 'internal-name' => 'Title'

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

Хуков нет.

Возвращает

Массив<Строку,. string> An associative array of columns.

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

$WP_List_Table = new WP_List_Table();
$WP_List_Table->get_columns();

Список изменений

С версии 3.1.0 Введена.

Код WP_List_Table::get_columns() WP 7.1

public function get_columns() {
	die( 'function WP_List_Table::get_columns() must be overridden in a subclass.' );
}