WordPress at Your Fingertips
function is not described

WP_List_Table::get_columns() public WP 3.1.0

Gets a list of columns.

The format is:

  • 'internal-name' => 'Title'

{} It's a 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.

Code of WP_List_Table::get_columns() WP 5.8.1

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