Remove Discount Field
Removes the Discount Code field from the checkout form.
Readme.txt Parsing Enhancements
Updates a Download's current version and changes log fields when using the readme.txt parsing feature in…
Top Pagination
Adds pagination links to the top of the [downloads] short code
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'…
AstraFormatFix
add_filter( 'astra_v4_block_editor_compat', "__return_true" );
Allow Eventbrite Styles in Long Description | Display Eventbrite Events
Since version 5.3.4 the Display Eventbrite Plugin has been removing the inline styles Eventbrite add to…
Maintenance Mode
Display a simple maintenance mode message for non-admin users.
Defining Zoho Mailer 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"); });