142 Snippets
10+ Favourites
30+ Downloads

Add Fields

/** * Add fields to the registration form. * * @param array $fields * @return array…

Redirect To Referer After Login

/** * After a user logs in, redirect them back to the page they * were…

Enable Block Editor For Campaigns

/** * The following code will modify the way the Campaign post type * is set…

Remove Login Form

/** * Remove the login prompt from being displayed before the donation form. */ function ed_remove_login_form_before_donation_form()…

Move Fields

/** * Move fields in the Donation Form. * * In the example below, we move…

Add Donate Button

/** * USAGE: * * To display a particular campaign's button, just add this to your…

Collect National Id Number

/** * Add a text field to the donation form. * * This field is added…

Add Email Headers

/** * Add CC/BCC headers to Charitable emails. * * @param string $headers The default email…

Change Custom Amount Field Label

/** * Filter the custom amount field description. * * @param string $label The default label.…

Remove Donation Form Fields

/** * This example shows how to remove fields from the donation form. * * Note…

Set Custom Redirection After Registration

/** * Send the user to a custom page after they have registered. * * @param…

Change Plugin Text

/* * A local translation snippet. Change 'YOUR TEXT HERE' to your desired text. * *…

1 2 3 12