WP Simple Pay: Custom Webhook Handling Example
An example of handling the `coupon.updated` webhook event. For a full list of available events see:…
On Add to Cart Event in WooCommerce
Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers in the…
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…
Disable Wordpress image compression
// Disable image compression add_filter( 'jpeg_quality', 'smashing_jpeg_quality' ); function smashing_jpeg_quality() { return 100; } // Disable…
WP Simple Pay: Custom Button Color
Using CSS, change the checkout button color from green to blue when using the Embedded or…
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…
Adding a Custom Filter when using Other SMTP Setting
This snippet will help in troubleshooting steps from "SMTP Error: Could not authenticate".
Combine and Minify CSS
Combine and Minify CSS
Sending Form Fields as Smart Tags to Square
The snippet makes Smart Tags usable with Square payments. It allows you to include form fields…
Prevent AIOSEO from changing the category to the primary one
This snippet will prevent AIOSEO from changing the category to the primary one.
Disable the delivery of SEO Email Reports
This snippet can be used to disable the delivery of SEO Email Reports.
How to Block Names From Completing Your Form - First Last and First Middle Last format
/** * Prevent certain names from the other formats for the Name form field. * *…
Translating the Total Field's Order Summary
This code targets specific elements inside the Order Summary and updates the labels to the translated…
class DeleteUploadedFiles {}
The deleteuploadedfiles Class is designed to delete uploaded files subsequent to email notifications. This functionality is…
Add WPCode Custom Field Smart Tag
Add a custom smart tag for the WPCode scripts metabox that outputs the value of a…