Conditionally disable Cloudflare Turnstile
This code snippet turns off the CAPTCHA setting in form data so Turnstile is not initialized…
Weather API
Live weather
Add User Field
This adds a field to the end of the "Your Details" section in the Profile form.
Auto register guests that purchase
function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…
Defining Email Log Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
Google Tag Manager
That GTM embed code I gave you is a JavaScript snippet wrapped in HTML tags, and…
Unique Order ID
Creates a unique order ID
Submission Form Redirect
Filter the redirect URL for successful FES Submission Form submission
MemberPress: Remove all but one country from the drop-down
Removes all the countries for the drop-down list on the account and registration pages and leaves…
Disable WooCommerce widgets on vendor store pages
/** * Remove widgets from the vendor store and single product pages conditionally. * * You…
MemberPress: Return to Same Page After Signup
Return the user to the same page after they register.
MemberPress: WooCommerce - Show Protected Products on the Shop Page
If we protect products using Rules, they won’t show in the Shop page. To change this…
MemberPress: Change Membership Registration URL
Each MemberPress Membership has an automatically generated registration page with its default URL. This code snippet…
om-reactv3.js
// Using React Router V3 import { browserHistory } from 'react-router'; class App extends React.component {…
WPCode Functions
For the WPCode plugin interface