_WP_List_Table_Compat::get_column_info
Gets a list of all, hidden, and sortable columns.
Method of the class: _WP_List_Table_Compat{}
No Hooks.
Returns
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() WP List Table Compat::get column info code WP 6.9.1
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 );
}