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: 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
Create a Custom Shipping Method in WooCommerce
This snippet allows you to create and add a custom shipping method to your WooCommerce store.
WordPress Trending Posts | Popular Posts Ticker Shortcode
Showcase your trending content with this scrolling WordPress ticker. Shortcode: [trending_postss count=5] Can change count as…
Display Vendor Policies on the Vendor Shop Page
By default, we only show the Vendor Policies on the Single Product Page. Please use the…
Full
import { useState } from 'react' import { Heart, Users, Play, Home, Search, User, Bell, ArrowRight,…
om.Iframes.init
document.addEventListener('om.Iframes.init', function(event) { console.log(event.detail.Iframes); console.log(event.detail.Campaign); } );
om.Html.append.after example use case
document.addEventListener('om.Html.append.after', function(event) { console.log('The ' + event.detail.Campaign.id + '-' + event.detail.Campaign.type + ' main container is…
om.Optin.error
document.addEventListener('om.Optin.error', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…
kindle
blog
Slide Reposition Right Center v2
html div#om-{{id}} { margin-right: -20px !important; height: 540px !important; top: calc(540px / 2) !important; bottom: calc(540px…
Add Custom Attributes and Group Them
// Step 1: Add your custom attribute(s) to a named group function add_custom_grouped_attributes( $attributes ) {…