Post class update
add_filter( 'body_class', function( $classes ) { $acc_type=tmwp_get_user_role(); if (!$acc_type) $acc_type='anonymous'; return array_merge( $classes, array('acc-type-'.strtolower($acc_type),tmwp_get_page_class()) ); }…
MemberPress: Add An Email Parameter That Displays A Link To The Sub-Account Signup Page
This code will create a new email parameter named {$subaccount_link}. This email parameter can be added…
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…
Set featured image aspect ratio
Used for featured image in query loop or any other image the class is applied to
Disable recurring renewal notices for specific download
Allows renewal notice emails to be disabled for subscriptions including a certain download.
Remove Free Text
Remove the word "free" from free products
Maintenance Mode
Display a simple maintenance mode message for non-admin users.
Defining Zoho Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
Connect to google
https://www.facebook.com/profile.php?id=61561561635100
MemberPress: Change Membership Registration URL
Each MemberPress Membership has an automatically generated registration page with its default URL. This code snippet…
om-webhook-example-v1.0.0.json
{ "lead": { "email": "[email protected]", "ipAddress": "1.2.3.4", "referrer": "https://optinmonster.com/", "timestamp": 1699985224, "firstName": "Archie", "lastName": "Monster", "phone":…
Your HTML link may look something like this
Some link on your site.