Set Default Donation Amount Per Campaign

Customize the default donation amount on a per campaign basis.

MemberPress: Change Stripe Payment Description

Change the Stripe payment descriptor for non-recurring payments.

MemberPress: Add a Shortcode To Display the Number of Total Downloads for All Files

Adds the following shortcode: [mepr-display-total-downloads]. When added to any page or post, the shortcode will display…

MemberPress: Hide the Cancel Subscription Option for the Set Number of Months

The code snippet will hide the Cancel option for a user’s subscriptions under the Subscriptions tab…

MemberPress: Add Currency Codes To MemberPress

This code snippet will add a custom currency to the MemberPress list of available currency codes.…

Remove Stats Summary Block From Specific Campaign

Hide the campaign summary stats from a few specific campaign, using the campaign IDs.

MemberPress: Exclude Protected Posts from Search Results

Removes any posts from the search results that the current user (or guest) does not have…

MemberPress: Add a description to Order Bumps on the registration page

In this example, a description is added to an Order Bump with a membership ID of…

MemberPress: Add/Override State Drop Down Values

Adding this code snippet to a website will override the list of states available under the…

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: Exclude MemberPress Custom Post Types from WordPress Search Results

By default, protected content could show up in the website search results. Though still protected, they…

MemberPress: Disable MemberPress Protection On Posts with Specific Tags

This code snippet disables content protection for posts that are tagged with a specific term (e.g.,…

MemberPress: Customize Unauthorized Message For Logged-Out Non-Authorised User and a Logged in Non-Authorised User

This snippet customizes the unauthorized message shown to users who attempt to access content protected by…

Format Date

Change the date format of the "Date of Donation" column in the Donations export.

Display both published and modified date

‹?php // Code from codewp.ai function codewp_display_dates( $content ) { if(get_post_type() != 'post') { return $content;…

1 23 24 25 26