om-nextjs14.js
'use client'; import { usePathname } from 'next/navigation'; import { useEffect, useState } from 'react'; export…
om-change-view.js
// Show the Yes/No view om{{id}}.changeView('yesno'); // Show the Optin view om{{id}}.changeView('optin'); // Show the Success…
And the Javascript to turn your HTML link into a MonsterLink v2
jQuery(document).ready(function($) { $('a[class*="campaign"]').addClass("manual-optin-trigger"); $('a[class*="campaign"]').attr("data-optin-slug", "pm6fnflhiocj7cge"); });
RSA Group GTM Head Tag
Add GTM Tag to Site Header on RSA Site Group
The draft of receipt
from reportlab.lib.pagesizes import A4 from datetime import datetime from reportlab.platypus import Table, TableStyle, Paragraph, SimpleDocTemplate, Image,…
MemberPress: Disable the Unauthorized Redirection for Multiple Pages And/or Posts
Adding this code snippet will prevent unauthorized users from being redirected away from specific pages if…
Enable automatic updates for WordPress core, plugins, and themes
// Enable automatic updates for WordPress core, plugins, and themes add_filter('automatic_updater_disabled', '__return_false'); add_filter('auto_update_core', '__return_true'); add_filter('auto_update_plugin', '__return_true');…
MemberPress: Add Address Fields to Authorize.net
By default, the user’s address data collected through MemberPress registration forms are not sent to Authorize.net.…
MFP > Deploy Show & Get Data
add_action('acf/save_post', 'add_show_children'); function add_show_children($post_id) { if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return $post_id; if (!wp_is_post_revision($post_id) && 'show' ==…
MemberPress: Add Description for Order Bumps Memberships
The code snippet is designed to manually add a custom paragraph as a description for each…
MemberPress: Restrict Email Patterns for Specific Memberships
This code snippet prevents users with specific email patterns from registering for any of the specified…
modify woocommerce states list
Modyfiy Woocommerce state list to armenian towns villages or districts
MemberPress: Unsubscribed Memberships Shortcode
This code snippet adds [mepr-unsubscribed-memberships] shortcode to display an unordered list (Titles/links) of the logged-in user’s…
Create a Custom Shipping Method in WooCommerce
This snippet allows you to create and add a custom shipping method to your WooCommerce store.