MemberPress: ActiveCampaign - Add Custom Field to ActiveCampaign Subscriber Data in MemberPress
This code snippet customizes the data sent to ActiveCampaign through the MemberPress integration. Once the code…
MemberPress: Exclude Protected Posts From the Main Query
This code snippet modifies the main WordPress query to exclude all posts related to the specified…
MemberPress: Allow Users to Pause/Resume Subscriptions Only for Specific Memberships
For this code snippet to work, the Allow members to pause/resume their subscription option needs to…
MemberPress: Remove MemberPress Weekly Stats Widget from WordPress Dashboard
This code snippet removes the MemberPress Weekly Stats widget from the WordPress admin dashboard. This can…
AMP Auto Ads Script
Este script carga la librería de anuncios automáticos de Google AdSense en las páginas AMP.
AMP Auto Ads – Body Block
Activa los anuncios AMP de AdSense en la parte del documento.
Disable XML-RPC (copy)
On sites running WordPress 3.5+, disable XML-RPC completely.
Retrieve Card Details from Stripe Checkout One-Time Payments
This snippet ensures that the last four digits and card brand are available in payment confirmations…
ACF JSON Menu Import
if( function_exists('acf_add_options_page') ) { acf_add_options_page(); } // // 1. Register ACF Field for Menu JSON add_action('acf/init',…
MemberPress: GDPR Cookie Compliance - Load GDPR Compliance Stylesheet In Memberpress ReadyLaunch Template
This code snippet loads a specific GDPR Cookie Compliance stylesheet in the MemberPress ReadyLaunch templates. This…
MemberPress: ACF - Exclude Protected Posts From ACF Repeater Field
The code snippet ensures that protected MemberPress posts are excluded from custom queries used in Advanced…
MemberPress: Move Membership Content Below Product Table on Registration Page
By default, the membership content is displayed before (above) the list of the products added for…
MemberPress: Replace Text in Group Price Box for Classic Tempalate
This code snippet is designed to dynamically replace specified text within the MemberPress price box elements.…
MemberPress: Set Default Country on Registration Page
This code will help set specified country as default country for the Country field on MemberPress…
MemberPress: Adjust Column Width for MemberPress Access Column on Admin Pages
This snippet adds custom CSS to adjust the width of the Acess (mepr-access) column on the…