/**
  * Add a new campaign donation.
  *
  * @param   array       $data
  * @return  int         The ID of the inserted donor.
  * @access  public
  * @since   1.0.0
  */
 public function insert($data, $type = 'donors')
 {
     return parent::insert($data, $type);
 }
 /**
  * Delete a row identified by the primary key.
  *
  * @param   int $row_id
  * @access  public
  * @since   1.0.0
  * @return  bool
  */
 public function delete($row_id = 0)
 {
     Charitable_Campaign::flush_donations_cache($row_id);
     return parent::delete($row_id);
 }
 /**
  * Delete a row identified by the primary key. 
  *
  * @param 	int 		$row_id
  * @access  public
  * @since   1.0.0
  * @return  bool
  */
 public function delete($row_id = 0)
 {
     /* Allow plugins to hook into this event */
     do_action('charitable_benefactor_deleted', $row_id);
     return parent::delete($row_id);
 }