public function save($data, $id, $auto_increment = false, $type = '') { // does not have a regular PK because it gets it from the posts table //so the "primary key" field has to be added as one to insert (not auto-increment) if ($type == '') { $type = $this->post_type; } return parent::save($data, $id, false, $type); }