Change a license activation limit prgramatically.
This snippet is an example of changing the activation limit on a license key based on…
om-reactv4.js
// Using React Router V4 import React from "react"; import { withRouter } from "react-router"; class…
om-reactv3.js
// Using React Router V3 import { browserHistory } from 'react-router'; class App extends React.component {…
om-nextjs.js
import { useEffect } from 'react'; import { useRouter } from 'next/router'; const OptinMonsterEmbed = ()…
Leave Tasty recipe ratings with WP-PostRatings
The Tasty Recipes rating system works with the default WordPress comment form. However, if you use…
Number slider validation for single page forms
This snippet uses the wpforms_process_validate_number-slider action to check the slider value after submission.
Conditionally disable Cloudflare Turnstile
This code snippet turns off the CAPTCHA setting in form data so Turnstile is not initialized…
Allow only specific days of the month in all WPForms date pickers
If you only want users to select certain days of the month in the Date Picker,…
Change the Email Summary Email Address
This snippet will allow you to specify who the email summaries should be delivered to. On…
Set a Custom Email Header
This snippet sets custom email headers to ensure you can control specific behaviors of your sent…
Using an Office 365 GCC or DoD email address
For security measures, Government Community Cloud (GCC) and U.S. Department of Defense (DoD) accounts typically use…
Block URLs Inside Text Fields
This snippet will prevent Text and Textarea fields such as Single Line Text and Paragraph text…
Add Subscriber to Segment
This snippet helps you add the push subscriber to the segment as per the action defined.
On Add to Cart Event in EDD
Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers. This also…
After Checkout Event In WooCommerce
This would stop sending cart abandonment campaigns to your push subscribers in the WooCommerce store as…