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: Change the Member’s User Role After a Specific Membership Subscription Cancelation

The code automatically changes the member's user role once the subscription is canceled. This will be…

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

MemberPress: Customize Default WordPress Password Reset Request Email Body

This code snippet customizes the body of the password reset request email sent to users from…

MemebrPress: Send MemberPress Welcome Email Only When Transaction Is Completed

The code snippet will allow the global welcome email to be triggered only following the successful…

Simple Chained Products

Enables a chained products setting on the Download product edit screen for automatically adding "chained" products…

Conditional Gateway Fees

Do not charge gateway fee to customer if the amount is over X

Contribution request

Keep your content free and ask for voluntary contributions. Readers that do not wish to contribute…

1 76 77 78 79 80 216