Set Custom Redirection After Registration
Send the user to a custom page after they have registered.
Set Header Menu as "Custom"
If you are using a custom menu plugin for your header menu you can define your…
Add Custom Text Before Purchase Button
Add custom text just before the "Purchase" button at checkout
Allow SVG/JPEG/WEBP/ICO/AVIF Files Upload
Allows these filetypes to be uploaded to the media library
Save images as WEBP
/** * Convert Uploaded Images to WebP Format * * This snippet converts uploaded images (JPEG,…
Make Single Field Required
Make a single field on the donation form required.
Change the redirect URI when using Google App’s OAuth
If you prefer not to use the default OAuth redirect URI (connect.wpmailsmtp.com) for added security and…
Add Picture Field To Donation Form
A picture field is added to the donation form, allowing donors to upload an image as…
VIsual Campaign Builder: Add HTML Tags To Display In The HTML/CODE Block
By design, Charitable allows only certain HTML to be displayed in the HTML/CODE Block of the…
Unhook Default Charitable Template Functions
In this example, we're going to remove the donor count from the campaign page, but you…
WP Simple Pay: Custom Webhook Handling Example
An example of handling the `coupon.updated` webhook event. For a full list of available events see:…
Variable Pricing Dropdown
Convert variable prices from radio buttons to a dropdown
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…
Sending Form Fields as Smart Tags to Square
The snippet makes Smart Tags usable with Square payments. It allows you to include form fields…
Disable Wordpress image compression
// Disable image compression add_filter( 'jpeg_quality', 'smashing_jpeg_quality' ); function smashing_jpeg_quality() { return 100; } // Disable…