Redirecting Vendors to Vendor Dashboard on Login
Snippet To Redirect Vendors to their Dashboard on login
Allow WooCommerce Shop Managers to manage vendors
/* Lets Shop Managers edit users with these user roles */ function wcv_allow_shop_manager_role_edit_capabilities( $roles ) {…
Remove Location Taxonomy
// Add custom Bulk Action to the Pages view function custom_add_bulk_action() { global $post_type; if ($post_type…
The commission is only log when the order status is completed
log commission when the order status is completed.
Advanced Spam Filters for Elementor Forms
Filter spam emails by either email provider @gamil.com, @hotmail.com, or whatever you want. You can also…
Make Paypal as default payment gateway
This snippet will remove all other vendor payment commision methods. Only allowing Paypal, it also makes…
WC Vendors Activate All Inactive Vendors
Activates all inactive Vendor Stores in a WC Vendors Marketplace. NOTE: To be ran once.
Untitled Snippet
name: Update lists on: schedule: - cron: '0 0,12 * * *' # At 00:00 and…
Fix the InvalidInternetMessageHeader Error in Outlook
This snippet will modify specific headers in your emails, which can help resolve this ‘InvalidInternetMessageHeader’ error…
Gravity Forms Auto-populate Date
The purpose of this snippet is to calculate a date 90 days from today. That serves…
om-js-event-ga-name-change.js
document.addEventListener( 'om.GoogleAnalytics.preConversionEvent', function( event ) { const { gaEvent } = event.detail; gaEvent.name = 'generate_lead'; //…