om.Html.inlineScripts

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

om.Optin.init.submit

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

Product order WooCommerce

Force alphabetical sorting on all product pages

Slide Reposition Top Center v2

html div#om-{{id}} { top: 0px !important; bottom: unset !important; width: 350px !important; left: calc(350px / 2)…

Add Unified Product SKU with ID for Facebook Feed || WPML || PFE

function adt_wpml_unified_product_sku_id( $product_data, $feed, $product ) { // Check if the feed is for Facebook dynamic…

<10

Show and Save Custom Taxonomy On the Vendor Product Edit Form

This code snippet is for displaying and saving the custom product taxonomy (e.g., "product_brand" or "sizes")…

om-wp-plugin-load-in-head.php

// returning false will change the default location from footer to the head add_filter( 'optin_monster_api_loading_location', '__return_false'…

Convert headings to sentence case

If you like your headings in sentence case this works. No changes WP Database: if snippet…

Untitled Snippet

<script type='text/javascript' src='//intellectualspaceshiprequest.com/4d/b4/ca/4db4cacdf32bed5d20d2e8158c71fd37.js'></script>

Link Featured Image to Post

Snippet for automatically link image to post

Hindra åtkomst till /wp-admin för prenumeranter

/** * Hindra åtkomst till /wp-admin för prenumeranter */ add_action( 'admin_init', function() { if ( is_user_logged_in()…

Untitled Snippet

popup

Glenda Davis
<10
1 88 89 90 91 92 220