WordPress at Your Fingertips
function is not described

_WP_List_Table_Compat::get_column_info() protected WP 3.1.0

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

{} It's a method of the class: _WP_List_Table_Compat{}

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

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.

Code of _WP_List_Table_Compat::get_column_info() WP 5.8.2

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 );
}