159 Snippets
40+ Favourites
1.2k Downloads

Add Hours Currency

Add a custom currency called "Hours".

Bulk Update Campaign End Dates

Bulk-update the end date for all campaigns.

Send Donation Notification For Pending Offline Donations

Sends a notification to admin if the donation is pending AND it was made in offline…

Set State Field To Us States Dropdown With Default

Change the "State" field into a "Province" field.

CHARITABLE_DEBUG mode

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

Round Percent Donated To Whole Number

/** * Display percent donated as rounded whole number. * * @param string $return * @param…

Send Donation Receipt For Pending Offline Donations

Right after a donation is made, this sends the donation receipt to the donor if the…

Change "City" To Town/City

Change the label of the"City" field into a "Town/City" field.

Change Custom Amount Field Label Per Campaign

Filter the custom amount field description on a per campaign basis.

Remove Decimal Points In Suggested (US)

Will turn "$5.00" into "$5" on suggestion donation amounts in the donation form.

Changing Text For Suggestion Donation Descriptions

You can place this code in your theme functions.php or use WPCode.

1 9 10 11 12 13 14