MemberPress: Manually Refresh Member Data
This code snippet is designed to manually refresh all members' data on a WordPress site. After…
Add Donation Receipt Opt Out Checkbox
In this function we register a new donation field with a key of `receipt_opt_out`. If the…
Blog filter
Add a filter for blogs
WP Simple Pay: Use Payment Form Description as Payment Description
Always use the payment form's "Description" as the Stripe payment description. By default WP Simple Pay…
MemberPress: Prevent users from auto-login after registration
The code snippet is designed to disable the auto-login feature for users who register for a…
Convert Customers to Users
Adds a tool to create user accounts for customers that don't already have them, and update…
Ensure Webfont is Loaded (Elementor)
add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { return 'swap'; }, 10, 3 );
Remove the Page Title from the Page Header
The following code can be used to remove the title from the page header title area…
MemberPress: Disable Math Captcha on login page
The code allows you to use the MemberPress Math Captcha plugin for registration only. This code…
MemberPress: Move "Upgrade" Button to after Subscriptions Tab
This code snippet creates a new tab positioned right after the Subscriptions tab on the MemberPress…
Change Section Headers Per Campaign
Change the section headers in the donation form.
Custom Tab Order For Dashboard
The following code will allow you to change the order that the front end dashboard is…
MemberPress: Move PayPal Smart Pay Buttons
Move the PayPal Smart Pay Buttons under the checkboxes for accepting Terms of Service and the…
ai content idea generator
function openai_generate_text() { // Get the topic from the AJAX request $prompt = $_POST['prompt']; $prompt ="generate…
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…