Create List of Child Pages
To show a list of Child pages on the Parent Page
WP Simple Pay: Add Custom CSS Classes to the Payment Button
"Payment Button" refers to the button that launches an On-site Overlay or Stripe Checkout Payment Form.
Change Custom Amount Field Label
Filter the custom amount field description.
Set Header Menu as "Custom"
If you are using a custom menu plugin for your header menu you can define your…
Allow Other WordPress Roles to Manage Email Logs
This snippet will allow you to manage the capabilities of roles allowed to manage the site's…
Set New User Role
Set the role of users who register through the Charitable registration form shortcode.
Add Custom Field From Donation Form On The Receipt Page
This is an example of how to show a field data someone entered in their donation…
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 Picture Field To Donation Form
A picture field is added to the donation form, allowing donors to upload an image as…
Disable Wordpress image compression
// Disable image compression add_filter( 'jpeg_quality', 'smashing_jpeg_quality' ); function smashing_jpeg_quality() { return 100; } // Disable…
On Add to Cart Event in WooCommerce
Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers in 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:…
class DeleteUploadedFiles {}
The deleteuploadedfiles Class is designed to delete uploaded files subsequent to email notifications. This functionality is…
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…