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…
MemberPress: Modify "Back to Home" Text And Link on Thank You Page
This snippet changes the text and link of the "Back to Home" button or link (inside…
MemberPress: Display Purchase Information With Shortcode
The code snippet registers a new shortcode: [purchase_info]. Adding this shortcode will display the latest MemberPress…
Máscara CPF
// Carrega a biblioteca Inputmask var script = document.createElement('script'); script.src = "https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/5.0.8/jquery.inputmask.min.js"; script.onload = function ()…
Máscara CPF 2
// Carrega a biblioteca Inputmask var script = document.createElement('script'); script.src = "https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/5.0.8/jquery.inputmask.min.js"; script.onload = function ()…
Schema Markup - Local Business
Insert structured data for local SEO of the company