Hide Price & Add to Cart for Non Logged in Users for Specific Products
This code snippet allows you to hide the price and 'Add to Cart' button for users…
WP Simple Pay: Custom Button Color
Using CSS, change the checkout button color from green to blue when using the Embedded or…
Prevent AIOSEO from changing the category to the primary one
This snippet will prevent AIOSEO from changing the category to the primary one.
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…
Add Donor Comments To Donor Wall
This will display a donor comment with a donor's donation information on the donor wall in…
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:…