156 Snippets
40+ Favourites
1.1k Downloads

Disable Nonce Check For Non Logged In Users

Disables the nonce check for non-logged in donors, usually for those using page caching which causes…

Add Donation Receipt Opt Out Checkbox

In this function we register a new donation field with a key of `receipt_opt_out`. If the…

Require Us Phone Number Format

This snippet shows how to alter the phone field so that it only accepts a number…

Change Section Headers Per Campaign

Change the section headers in the donation form.

Keep Username As Display Name

When people update their profile, keep their display name set to be the same as their…

Customize Amount Raised Text

In this example, we change how the "X donated of Y goal" text appears.

New Donation Field Plus Customized Donor Name

This is the full code for a tutorial written on the WP Charitable blog.

Add Post Parent Field

Register a Post Parent field for campaigns.

Change Login Form Arguments

The 'charitable_login_form_args' filter allows you to set the arguments that are passed to wp_login_form().

Change Donor Name Display

Change the donors widget so only the first name and last name initial of the donor…

Add Email Tag For Donation Field

Add an email tag for an existing donation field.

Move User Fields In Donation Form

In this example we move the user fields section (the "Your Details" bit) to appear below…

1 5 6 7 8 9 13