public function __construct() { global $status, $page; parent::__construct(array('singular' => 'station', 'plural' => 'stations', 'ajax' => false)); }
protected function get_primary_column_name() { $columns = $this->get_columns(); $default = $this->get_default_primary_column_name(); // If the primary column doesn't exist fall back to the // first non-checkbox column. if (!isset($columns[$default])) { $default = Live_Weather_Station_List_Table::get_default_primary_column_name(); } $column = apply_filters('list_table_primary_column', $default, $this->screen->id); if (empty($column) || !isset($columns[$column])) { $column = $default; } return $column; }