W3cubDocs

/WordPress

WP_List_Table::get_columns()

Gets a list of columns.

Description

The format is:

  • 'internal-name' => 'Title'

Return

(array)

Source

File: wp-admin/includes/class-wp-list-table.php

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

Changelog

Version Description
3.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_list_table/get_columns