Add menu item to vendor dashboard

// Add this to your themes functions.php function add_menu_item( $pages ){ $pages[] = array( 'label' =>…

wpadmin add phone number with address in orders page

add_action( 'manage_shop_order_posts_custom_column' , 'custom_orders_list_column_content', 50, 2 ); function custom_orders_list_column_content( $column, $post_id ) { global $the_order, $post;…

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…

Update FES Vendor/Seller profile link

Update a specific Seller profile link to a custom one

om-js-events-ga-impression.js

// OptinMonster Javascript Event for Google Analytics Impression Event document.addEventListener( 'om.GoogleAnalytics.preImpressionEvent', function( event ) { var…

1 60 61 62 63 64 124