Profile Data Shortcode

Renders the value of a single Profile Form field. Accepts one value, key. But it has…

WP Simple Pay: Programmatically Set Custom Field Default Value

Use metadata as the default value for a payment form's custom field.

MemberPress: Restrict Signups to a Specific Country

This code snippet limits registration to users from the specified country only. If users from other…

Move User Fields In Donation Form

In this example we move the user fields section (the "Your Details" bit) to appear below…

AIOSEO Movie Poster Integration – TMDb & ACF Compatibility Fix [for the fmovie theme by fr0zen]

This snippet overrides AIOSEO's default image with the TMDb movie poster stored in the ACF 'poster_path'…

<10

MemberPress: WooCommerce - Show Specific WooCommerce Product Based on MemberPress Subscription

This code snippet will show the specific WooCommerce product only to users who have an active…

Conditionally disable Cloudflare Turnstile

This code snippet turns off the CAPTCHA setting in form data so Turnstile is not initialized…

<10

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…

Carla Mawyin
<10

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

1 50 51 52 53 54 233