MemberPress: Change the Member’s User Role After Subscription Cancellation
The code automatically changes the member's user role once any subscription is canceled. This will be…
woo orders page courier address
// Add the new column to the orders page add_filter('manage_edit-shop_order_columns', 'display_courier_address_column'); // Display data in the…
woo orders page Whatsapp DM from mac app
// Modify the columns and ensure WhatsApp column appears last function add_whatsapp_column($columns) { // Remove WhatsApp…
Lang
document.addEventListener("DOMContentLoaded", function() { const flowchart = document.getElementById("flowchart"); flowchart.innerHTML = ` How do you plan to use…
Remove unwanted checkout fields when all products are downloadable
With this snippet you can hide/remove default Woocommerce checkout fields when all products are downloadable
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…
MemberPress: Exclude Specific Custom Fields from MemberPress Registration Forms
This code snippet allows you to hide specific custom fields on MemberPress registration forms when a…
MemberPress: Generate Invoice Numbers for Zero Amount Transactions
This code snippet ensures invoice numbers are generated for transactions with zero amounts in MemberPress. By…
MemberPress: Load All Currently Enqueued Styles In MemberPress Courses for S3MediaVault
By default, if the ReadyLaunch Courses/Lessons template is enabled, the MemberPress Courses add-on won’t enqueue 3rd-party…
MemberPress: Load All Currently Enqueued Styles In MemberPress Courses for Popup Maker plugin
By default, if the ReadyLaunch Courses/Lessons template is enabled, the MemberPress Courses add-on won’t enqueue 3rd-party…
MemberPress: Custom Course Overview Shortcode for Better Preview
This code registers a new shortcode: [mepr-mpcs-course-overview]. Adding this shortcode will display the overview of a…
MemberPress: Disable Comments for Courses, Lessons, Quizzes, and Assignments
The code snippet will disable comments on all MemberPress Courses custom post types: courses, lessons, quizzes,…
MemberPress: Display Custom Field Value Instead of Customer Name in PDF Invoice
This code snippet enhances your MemberPress PDF invoices by automatically displaying a company name at the…
MemberPress: Add Thumbnail Support for MP Downloads
By default, the MemberPress Downloads add-on doesn't support thumbnails or featured images for downloadable files. This…