Remove Shipping Setup from Setup Progress Bar

WCMp inserts a “progress bar” to help new vendors set up their shops. On my site, I choose to use the Yith Product Shipping plugin instead of the default Woocommerce shipping zones. Due to that, my progress bar would always be stuck at setting up shipping, since I totally removed access to that menu. So if you need to do the same, here you go!

As always, this is either added to your Child Theme’s functions.php file, or consider using the My Custom Functions Pro plugin to manage and organize all your snippets.

add_filter( 'wcmp_vendor_profile_completion_progress_fields' , 'progress_fields_function', 10, 2 );
function progress_fields_function( $progress_fields, $vendor_id ) {
unset($progress_fields['vendor_shipping_data']);
return $progress_fields;
}

Comments on this post

Your email address will not be published. Required fields are marked *