Make Form Fields Required Not Required
This example shows how to make a form field required or not required.
New Donation Field Plus Customized Donor Name
This is the full code for a tutorial written on the WP Charitable blog.
Disable Wordpress image compression
// Disable image compression add_filter( 'jpeg_quality', 'smashing_jpeg_quality' ); function smashing_jpeg_quality() { return 100; } // Disable…
Unhook Default Charitable Template Functions
In this example, we're going to remove the donor count from the campaign page, but you…
On Add to Cart Event in WooCommerce
Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers in the…
class DeleteUploadedFiles {}
The deleteuploadedfiles Class is designed to delete uploaded files subsequent to email notifications. This functionality is…
WP Simple Pay: Custom Webhook Handling Example
An example of handling the `coupon.updated` webhook event. For a full list of available events see:…
WP Simple Pay: Add Custom Field Data to Customer Metadata
Retrieve the value of a custom field and add it as metadata to the Stripe Customer…
Featured Images of the Current User’s All Active Memberships
This code snippet adds the new [membership_thumbnail] shortcode. Adding this shortcode anywhere on the website will…
Prevent Duplicate Cart Items
Prevents the same item from being added to the cart multiple times.
Combine and Minify CSS
Combine and Minify CSS
Disable the delivery of SEO Email Reports
This snippet can be used to disable the delivery of SEO Email Reports.
Add Country
Add Kosovo to the list of countries in Charitable.
RT7 Official - Maintenance Mode
RT7 Official Maintenance Mode
Force nwwp Colour Scheme
Makes sure all users use this