MemberPress: Replace Country Code with Country Name

Replaces the 2-digit country code in the {$user_address} parameter for emails with the full country name.

MemberPress: Change default values for state and country fields on registration forms

Change the default values for the state and country fields on registration forms.

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…

Change default zoom for all PDF files in PDF Embedder Premium

Set the default zoom value for all shortcodes/blocks regardless of their settings.

MemberPress: Modify the Order of the Registration and the Account Form Fields

Each field in the registration and account form is a separate element. Thus, the order of…

MemberPress: Pass a Member Phone Number to Stripe

This code will pass the phone number a member added to the membership registration form when…

MemberPress: Disable Address Fields for a Specific Membership

Note: This code will not work if ReadyLaunch™ is enabled on the registration page. The code…

MemberPress: Set Custom Product Pages

Use this snippet if the membership shortcode is used on a custom page (the page that…

MemberPress: Remove the “Pause” Link for Subscriptions on the Account Page

The code will hide the Pause link for user subscriptions on the User account page (Account…

MemberPress: Add Shortcode To Output the User’s Subscription Expiration Date

Adds the following shortcode: [mepr-sub-expiration membership=' ']. The shortcode will output the expiration date of the…

Display both published and modified date

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

Back to Top Button (copy)

Add a simple button to scroll back to top on the frontend.

MemberPress: Free-Views-Used Counter

This code will add the counter notification showing users how many free views of the paywall…

MemberPress: Display Custom Field Value Instead of Customer Name in PDF invoice

This code snippet automatically adds the custom field value or the customer's full name at the…

1 14 15 16 17 18 28