+
+/**
+ * delete an existing contribution_page
+ *
+ * This method is used to delete any existing contribution_page. id of the group
+ * to be deleted is required field in $params array
+ *
+ * @param array $params (reference) array containing id of the group
+ * to be deleted
+ *
+ * @return array API result array
+ * {@getfields contribution_page_delete}
+ * @access public
+ */
+function civicrm_api3_contribution_page_submit($params) {
+ $result = CRM_Contribute_Form_Contribution_Confirm::submit($params);
+ return civicrm_api3_create_success($result, $params, 'contribution_page', 'submit');
+}