Change the sold by link label to vendor's name

Change the sold by link label to vendor's name

Resetting the Vendor & Pending Vendor Roles

add_filter('woocommerce_login_redirect', 'redo_roles', 10, 2); function redo_roles() { remove_role( 'pending_vendor' ); add_role( 'pending_vendor', __( 'Pending Vendor', 'wcvendors'…

Disable Gutenberg Editor (use Classic Editor)

Switch back to the Classic Editor by disablling the Block Editor.

Defining Email Log Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

om-nextjs14.js

'use client'; import { usePathname } from 'next/navigation'; import { useEffect, useState } from 'react'; export…

om-change-view.js

// Show the Yes/No view om{{id}}.changeView('yesno'); // Show the Optin view om{{id}}.changeView('optin'); // Show the Success…

And the Javascript to turn your HTML link into a MonsterLink v2

jQuery(document).ready(function($) { $('a[class*="campaign"]').addClass("manual-optin-trigger"); $('a[class*="campaign"]').attr("data-optin-slug", "pm6fnflhiocj7cge"); });

om-available.js

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

Untitled Snippet

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

Enhanced Force Author Plugin

Forces a specific user to be the author of all posts and pages while maintaining the…

1 63 64 65 66 67 126