Add Custom Text Before Purchase Button
Add custom text just before the "Purchase" button at checkout
Defining Brevo (Sendinblue) Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
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…
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:…
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…
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…
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…
Defining Google Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
WP Simple Pay: Custom Webhook Handling Example
An example of handling the `coupon.updated` webhook event. For a full list of available events see:…
Combine and Minify CSS
Combine and Minify CSS
create woocommerce call to order button for specific product in your wordpress website
Are you looking to boost conversions on your WooCommerce website? One effective strategy is to incorporate…