/**
  * 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);
 }
コード例 #2
0
 /**
  * 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);
 }