MemberPress: Restrict Signups to a Specific Country
This code snippet limits registration to users from the specified country only. If users from other…
MemberPress: Adding Credit Card and Expiry Information to Subscriptions Table
This snippet adds a new column to the table under the Subscriptions tab on the Account…
Allow mobile zoom
function et_add_viewport_meta(){ echo ''; }
MemberPress: Extend the Grace Period
This will extend the default 1-day grace period for subscriptions. The code needs to be adjusted…
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…
Allow Zero Dollar Donations
Allow people to "donate" $0.
Set Custom Donation Receipt Page For Offline Donations
You may want to use a different donation receipt page for Offline donations than your other…
Profile Data Shortcode
Renders the value of a single Profile Form field. Accepts one value, key. But it has…
MemberPress: Add Category Exception to All Post Rule
Add a category exception to the all posts rule instead of having to add the posts…
WP Simple Pay: Programmatically Set Custom Field Default Value
Use metadata as the default value for a payment form's custom field.
Move User Fields In Donation Form
In this example we move the user fields section (the "Your Details" bit) to appear below…
Google AdSense code
AdSense code
Defining SendLayer Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
MemberPress: Add Currency Codes To MemberPress
This code snippet will add a custom currency to the MemberPress list of available currency codes.…