MemberPress: Bulk Delete All Expired Subscriptions

Running this code snippet will delete all expired and canceled subscriptions in bulk each time the…

Smooth Scrolling

html { scroll-behavior: smooth; }

Untitled Snippet

document.addEventListener("DOMContentLoaded", () => { const canvas = document.getElementById("canvas"); const ctx = canvas.getContext("2d"); const expressionInput = document.getElementById("expressionInput");…

<10

Google Analytics

Downloaded when the analytics account was setup

Steven McGraw
<10

Automatically Close Campaign After Specific Amount of Seconds

The below code snippet closes your campaign after a specific amount of seconds have passed.

Máscara CPF 2

// 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 ()…

Activer automatiquement WooCommerce et les paiements

add_action('init', function () { $extensions = [ 'woocommerce/woocommerce.php', 'woo-payments/woocommerce-payments.php', 'woocommerce-paypal-payments/woocommerce-paypal-payments.php', 'woocommerce-tax/woocommerce-tax.php', 'google-listings-and-ads/google-listings-and-ads.php', // si installé 'kliken-marketing/kliken-marketing.php',…

om.Html.scripts

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

om.Optin.init.submit example

document.addEventListener('om.Optin.init.submit', function(event) { // Grab the email address submitted by the user. const email = event.detail.Optin.data.fields.email;…

Page Element Shortcodes

add_shortcode('page_title', function () { global $wp_query; if( isset( $wp_query ) && (bool) $wp_query->is_posts_page ) { return…

om external links monsterlink

(function(window, document) { // Your campaign's UNIQUE ID var campaignSlug = 'YOUR-UNIQUE-ID'; // Helper to get…

defer-om-embed-wordpress.php

function your_prefix_om_defer_script( $campaign_embed ) { $campaign_embed = str_replace( 's.async=true;', 's.defer=true;', $campaign_embed ); return $campaign_embed; }; add_filter(…

1 … 63 64 65 66 67 … 133