public static function delete_form($form_id) { // Delete the post wp_delete_post($form_id, true); }
/** * Tear it Down */ public function tearDown() { parent::tearDown(); Give_Helper_Form::delete_form($this->_simple_form->ID); Give_Helper_Form::delete_form($this->_multi_form->ID); }