MemberPress: Restrict Email Domains on Registration
This code snippet will limit the membership registration to only the allowed list of email domains.…
wwolf
www.wwolf.com
MemberPress: Customize Unauthorized Message For Logged-Out Non-Authorised User and a Logged in Non-Authorised User
This snippet customizes the unauthorized message shown to users who attempt to access content protected by…
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 ()…
Display Page/Post ID
This snippet can be used to display Page/Post ID in the Admin Dashboard. Adds option to…
Stripe 2 Registration Form Update
Formidable Forms - When a Stripe payment is successful on the Stripe Payment form I want…
Give export capability to administrator
This snippet adds the export capability to the administrator user role.
om.Sites.init
document.addEventListener('om.Sites.init', function(event) { console.log(event.detail.Sites); // An array of all the Site objects associated to this campaign.…
om.Group.init
document.addEventListener('om.Group.init', function(event) { console.log(event.detail.Group); // An array of the Rule objects console.log(event.detail.Group.rules); 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…
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…