Set New User Role

/** * Set the role of users who register through the Charitable * registration form shortcode.…

MemberPress: Move PayPal Smart Pay Buttons

Move the PayPal Smart Pay Buttons under the checkboxes for accepting Terms of Service and the…

Make Form Fields Required Not Required

/** * This example shows how to make a form field required or not required. *…

Disable Nonce Check For Non Logged In Users

/** * Page caching causes problems for donors who are not logged in. * * This…

Customize Amount Raised Text

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

Remove Stats Summary Block From Specific Campaign

/** * NOTE: This code snippet must be included in your theme's functions.php file, * or…

MemberPress: Exclude Protected Posts from Search Results

Removes any posts from the search results that the current user (or guest) does not have…

Disable Donation Receipt For Offline Donations

/** * Disable the donation receipt email for offline donations. */ add_filter( 'charitable_send_donation_receipt', /** * Our…

Set Maximum Donation Amount

/** * Set the maximum donation amount required. * * This function is called when the…

Format Date

/** * Change the date format of the "Date of Donation" column in the Donations export.…

Override Header Logo with Custom SVG

While you can select an SVG image from the customizer for your header logo if you…

Include Pending Donors

/** * By default, the Donors widget & shortcode will only include donors with * Paid…

Add Picture Field To Donation Form

/** * In this example, a picture field is added to the donation form, * allowing…

Change State To Province

/** * Change the "State" field into a "Province" field. * * @param array[] $fields *…

Add Featured Image

/** * Add a featured image to the individual campaign pages. * * @param Charitable_Campaign $campaign…

1 4 5 6 7 8 15