Allow SVG/JPEG/WEBP/ICO/AVIF Files Upload
Allows these filetypes to be uploaded to the media library
WP Simple Pay: Custom Webhook Handling Example
An example of handling the `coupon.updated` webhook event. For a full list of available events see:…
WP Simple Pay: Create WordPress User After Payment
Creates a new WordPress user when a subscription is started or a one-time payment is made.
On Add to Cart Event in WooCommerce
Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers in the…
Save images as WEBP
/** * Convert Uploaded Images to WebP Format * * This snippet converts uploaded images (JPEG,…
Change Fields On Donation Form
Example on how to change labels for fields on donation form.
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
Remove HealthAndBeautyBusiness Schema
This snippet removes HealthAndBeautyBusiness Schema
How to Defer the reCAPTCHA Script
/** * Defer the reCAPTCHA script until after the page loads * * @link https://wpforms.com/developers/how-to-defer-the-recaptcha-script/ */…
How to Add BCC to Email Notifications (for specific form)
/** * Add BCC recipients to specific form email notifications. * * @link https://wpforms.com/docs/how-to-add-bcc-to-email-notifications/ */ add_filter(…
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:…