Defining Other SMTP Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

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…

Hide All Admin Notices in Sidebar

Hides all admin notices in a collapsible sidebar. AI generated code. Use with caution.

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.

1 109 110 111 112 113 180