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.
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
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…
How to Customize the Labels for Image Choices
/* Position labels over images and hide them by default */ form#wpforms-form-1000 .wpforms-field .wpforms-image-choices-label { position:…
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…
Modify the LLMS Description for a Specific Post
This snippet modifies the description shown in llms.txt for a specific post.
Disable Nonce Check For Non Logged In Users
Disables the nonce check for non-logged in donors, usually for those using page caching which causes…
class DeleteUploadedFiles {}
The deleteuploadedfiles Class is designed to delete uploaded files subsequent to email notifications. This functionality is…
WPCode Add New Snippet Skip Library Screen
This snippet enables you to skip the snippet library screen when adding a new snippet in…
Make Form Fields Required Not Required
This example shows how to make a form field required or not required.
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…