MemberPress: Changes Product Image on the Checkout Page (copy)
This code snippet changes the product image on the checkout page in MemberPress. By default, MemberPress…
MemberPress: Display User's Course Progress in MemberPress Courses
The code snippet registers a new shortcode: [mpcs_user_courses_progress]. Adding this shortcode will display all MemberPress courses…
Limit user posts
A settings page to set the number of posts all users can create
Custom Countries
Illustrates how to add a custom list of countries This list will be used anywhere EDD…
Add Security Info to Checkout
Replace the image on checkout with the proper image for your SSL certificate.
MemberPress: Disable Admin Password Lost/Changed Email
Disable the MemberPress Admin email notification for password lost/changed.
MA GDPR YouTube
[ma-gdpr-youtube id="youtubeid"] GDPR compliant YouTube video embedding Version 1.2.0, 2022-09-25 © 2021-2022, Matthias Altmann Info: en:…
MemberPress: Restrict Signups to a Specific Country
This code snippet limits registration to users from the specified country only. If users from other…
MemberPress: Adjust Membership Price Based on Membership ID on Checkout Page
This snippet modifies the price of a specific membership (based on the membership ID) in MemberPress.…
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…
تغيير عمله
/** * Change a currency symbol */ add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2); function change_existing_currency_symbol( $currency_symbol, $currency )…
Set Fixed Donation Amount
Automatically set the donation amount and recurring period for donations.
GOOGLE AD
google.com, pub-8822076209599189, DIRECT, f08c47fec0942fa0
WooCommerce Wholesale Lead Capture Re-send Email Button in User Profile
This snippet will add a resend email button under User profile.
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()) ); }…