WP_List_Table::get_columns()publicWP 3.1.0

Gets a list of columns.

The format is:

  • 'internal-name' => 'Title'

Method of the class: WP_List_Table{}

No Hooks.

Return

Array.

Usage

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

Changelog

Since 3.1.0 Introduced.

WP_List_Table::get_columns() code WP 6.5.3

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