PHP Class Give_Helper_Form, Give

Helper class to create and delete a donation form.
Inheritance: extends WP_UnitTestCase
Show file Open project: wordimpress/give Class Usage Examples

Public Methods

Method Description
create_multilevel_form ( ) Create a multi-level donation form.
create_simple_form ( ) Create a simple form.
delete_form ( integer $form_id ) Delete a donation form.

Method Details

create_multilevel_form() public static method

Create a multi-level donation form.
Since: 1.0
public static create_multilevel_form ( )

create_simple_form() public static method

Create a simple form.
Since: 1.0
public static create_simple_form ( )

delete_form() public static method

Delete a donation form.
Since: 1.0
public static delete_form ( integer $form_id )
$form_id integer ID of the donation form to delete.