Add vat over the commission
This will add VAT value over the commission
Remove Method label
add_filter( 'woocommerce_cart_shipping_method_full_label', 'remove_shipping_method_title', 10, 2 ); function remove_shipping_method_title( $label, $method ){ $new_label = ''; if (…
Make All Users Vendors
/** * Make all new user registrations Vendors. */ add_filter( 'woocommerce_new_customer_data', 'wcv_woocommerce_new_user_data' ); function wcv_woocommerce_new_user_data( $data…
Remove Google Fonts
add_filter( 'elementor/frontend/print_google_fonts', '__return_false' );
Supports sending an email with a Stripe Pre-Approved payment is submitted.
By default EDD only sends a purchase confirmation when an order is marked as completed, however…
Filter Music Promoter Age Restriction | Display Eventbrite Events
For Eventbrite music promoters only. Age restriction text is displayed unless it is set in Eventbrite…
WordPress Content Filter: Removing Tags for Enhanced Display Control
The purpose of this code snippet is to filter out tags and their contents from the…
JP_Wp_Snippets
All different snippets I have been using
Disable Plugin & Theme Editor
Prevent users from using the Plugin & Theme file editor.
Defining Postmark Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
om-angularjs.js
// Using AngularJS. var myApp = angular.module('myApp', []); myApp.run(function($rootScope) { $rootScope.$on("$locationChangeStart", function(event, next, current) { if…
om-listeners-convert.js
om{{id}}.Listeners.convert();
htmk to monsterlink
jQuery(document).ready(function($) { $('a[href="#"]').addClass("manual-optin-trigger"); $('a[href="#"]').attr("data-optin-slug", "pm6fnflhiocj7cge"); });