Disable XML-RPC (copy)

On sites running WordPress 3.5+, disable XML-RPC completely.

MemberPress: Restrict Purchase of a Specific Membership Based on Existing Subscriptions

This code snippet restricts the purchase of a specified MemberPress membership (restricted membership), based on a…

Restrict payment methods based on cart total

Restrict payment methods based on cart total

Database connection test snippet

A snippet to test the connection to the database.

om.Dtr.init

document.addEventListener('om.Dtr.init', function(event) { console.log(event.detail.Dtr); console.log(event.detail.Campaign); // Registers a custom `name` smart tag. event.detail.Dtr.setCustomVariable('name', 'Thomas'); } );

om.Action.init

document.addEventListener('om.Action.init', function(event) { console.log(event.detail.Action); console.log(event.detail.Campaign); } );

Una plant Quiz Score Calculator

/** * Author: Sumaiya, Clickup Doc: https://app.clickup.com/36636088/v/dc/12y1dr-22535/12y1dr-25375 * Function to handle quiz submission, calculate results based…

<10

om.Action.refresh

document.addEventListener('om.Action.refresh', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…

disable webfonts for a spesific campaign

document.addEventListener('om.Campaign.init.preload', function(event) { var campaign = event.detail.Campaign; if ({slug} === campaign.id) { campaign.settings.preload = false; }…

trigger monsterlink of an external link

jQuery(document).ready(function($){ // Change 'rt78pcbzrddo1y7w0yq3' to match your specific campaign slug var campaignSlug = 'rt78pcbzrddo1y7w0yq3'; // When…

Yes/No view

#om-{{id}}-yesno button.{{ns}}-CloseButton { /* Your Custom Styles */ }

css-example.css

html div#om-{{id}} [class$="-form"] { /* Your custom styles */ }

1 117 118 119 120 121 218