_WP_List_Table_Compat::get_column_info()protectedWP 3.1.0

Gets a list of all, hidden, and sortable columns.

Method of the class: _WP_List_Table_Compat{}

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_column_info();

Changelog

Since 3.1.0 Introduced.

_WP_List_Table_Compat::get_column_info() code WP 6.5.4

protected function get_column_info() {
	$columns  = get_column_headers( $this->_screen );
	$hidden   = get_hidden_columns( $this->_screen );
	$sortable = array();
	$primary  = $this->get_default_primary_column_name();

	return array( $columns, $hidden, $sortable, $primary );
}