Add Custom Field
/** * Display the custom field. * * @param Charitable_Campaign $campaign * @return void */ function…
Change Campaign Slug Base
/** * By default, campaigns are located at yoursite.com/campaigns/campaign-name. * * If you want to change…
MemberPress: Remove State Text Field
Removes the state text field from the registration and account pages if the country does not…
Add Gateway Donation Field
/** * This snippet shows how to enable an email tag for the gateway_label * donation…
Bulk Update Campaign End Dates
/** * Bulk-update the end date for all campaigns. */ add_action( 'admin_init', function() { // Retrieve…
Add Hours Currency
/** * Add a custom currency called "Hours". * * @param string[] $currencies * @return string[]…
MemberPress: Require Coupon at Checkout
Make the coupon field required at checkout.
Allow Manual Donations Without Email
/** * Allow donors to be be added without an email address. * * Prior to…
Do Not Hide Donor Fields For Logged In Users
/** * By default, Charitable will hide the donor fields for users who * are logged…
Add Progress Bar Before Summary
/** * Add a progress bar to the individual campaign pages. */ function en_add_progress_bar_before_summary() { add_action(…
WPForms: new smart tag - Current Date/Time
It's a localized date/time in this format: Y-m-d H:i:s
MemberPress: Dynamic Trail Periods
Sets up a dynamic trial period so that all users renew on the same date. In…
Add Donation Receipt Opt Out Checkbox
/** * In this function we register a new donation field with a * key of…
Change Campaign Finished Notice
/** * Change the notice shown for campaigns when they are finished. * * This notice…