om.Lock.init
document.addEventListener('om.Lock.init', function(event) { console.log(event.detail.Lock); // The method that will be used for locking the content. console.log(event.detail.Lock.method);…
om.PoweredBy.init
document.addEventListener('om.PoweredBy.init', function(event) { console.log(event.detail.PoweredBy); console.log(event.detail.Campaign); } );
om.Optin.success
document.addEventListener('om.Optin.success', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…
Open graph
fix
Add Custom Attributes and Group Them
// Step 1: Add your custom attribute(s) to a named group function add_custom_grouped_attributes( $attributes ) {…
Admin Functions for posts.
Make it easier to edit posts when viewing archives or single pages. Add page slug to…
Show Wholesale Prices Text In Single Product Page For Wholesale Role Customers
/** * First Remove The Existing Pricing Filter So That It Will Be Available To All…
Untitled Snippet
https://www.profitableratecpm.com/m3vhnv9nj?key=ee7f1f66123bd8b97fb66f8543b371e0
PHP - Custom color dashboard (menu et barre du haut)
function custom_admin_style() { echo ''; } add_action('admin_head', 'custom_admin_style');
Number slider validation for multi page forms
This snippet outputs a small script that listens for the wpformsBeforePageChange event and stops the page…