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); } );
om.Html.shortcodes
document.addEventListener('om.Html.shortcodes', function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );
om.Campaign.changeView.done
document.addEventListener('om.Campaign.changeView.done', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );
Typography Enqueue
function typography_enqueue_styles() { // Enqueue Typeboost.css from Cloudflare CDN wp_enqueue_style('typeboost-css', 'https://cdnjs.cloudflare.com/ajax/libs/typeboost/1.0.0/typeboost.css', array(), '1.0.0'); // Enqueue webfontloader.js…
Untitled Snippet
const crypto = require('crypto'); const secret = '•••••••••'; // Your verification secret key const userId =…