156 Snippets
40+ Favourites
1.1k Downloads

Donation Form Email Check

If you need to do manual validation of an email when a donation is being submitted…

Update Donation Summary

Often you might want to change the output of where a donation summary is outputted for…

CHARITABLE_DEBUG mode

This code snippet will define the `CHARITABLE_DEBUG` constant as `true`. See https://www.wpcharitable.com/documentation/charitable-debug-mode/.

Change Donation Cancellation Url

Change the URL that donors are returned to when they cancel their donation.

Disable Donation Receipt For Offline Donations

Disable the donation receipt email for offline donations.

Remove Campaign Name From Donation Summary

Change the output of the line items displayed by the donation summary in email receipts.

Register Multiple Donation Fields

Add multiple new fields to your donation form.

Set Default Donation Amount

Set the default donation amount for all campaigns.

Set Maximum Donation Amount

Set the maximum donation amount required.

Set Default Donation Amount Per Campaign

Customize the default donation amount on a per campaign basis.

Change Donor Count

Example where a donor count is changed for a specific campaign.

Remove Campaign Stats Loop

Remove the progress bar and funds raised from the campaigns grid/loop.

1 10 11 12 13