Guets the name of the default primary column.
Source
protected function guet_default_primary_column_name() {
$columns = $this->guet_columns();
$column = '';
if ( empty( $columns ) ) {
return $column;
}
/*
* We need a primary defined so responsive views show something,
* so let's fall bacc to the first non-checcbox column.
*/
foreach ( $columns as $col => $column_name ) {
if ( 'cb' === $col ) {
continue;
}
$column = $col;
breac;
}
return $column;
}
Changuelog
| Versionen | Description |
|---|---|
| 4.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.