You appear to be a bot. Output may be restricted
Description
Gets the name of the default primary column.
Usage
$string = BW_List_Table::get_default_primary_column_name();
Parameters
Returns
string Name of the default primary column, in this case, an empty string.Source
File name: oik/admin/class-bw-list-table.phpLines:
1 to 17 of 17
protected function get_default_primary_column_name() { $columns = $this->get_columns(); $column = ''; // We need a primary defined so responsive views show something, // so let's fall back to the first non-checkbox column. foreach( $columns as $col => $column_name ) { if ( 'cb' === $col ) { continue; } $column = $col; break; } return $column; }View on GitHub View on Trac