Add Custom Settings Tab to Vendor Dashboard
// Add the tab to the tab nav add_filter( 'wcv_store_tabs', 'add_custom_tab_nav' ); function add_custom_tab_nav( $tabs ){…
Disable Product delete for published products only
/** * This will disable delete only for published products, leaving drafts to be able to…
Add Tax ID to Shipping Label
/** * Add the Tax ID Field to the settings page * * In this example…
Shipping label template
/** * The template for displaying the shipping label * * Override this template by copying…
Custom Tab Order For Dashboard
// Add this to your themes functions.php to change the order, rearrage the lines. First line…
Use Billing Address in Order Exports
add_filter( 'wcv_export_orders_use_shipping_address', 'wcv_order_export_use_shipping_address' ); function wcv_order_export_use_shipping_address( ){ return false;
Add menu item to vendor dashboard
// Add this to your themes functions.php function add_menu_item( $pages ){ $pages[] = array( 'label' =>…
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 ) {…
Change product edit tab order
Manually Sort
Change product edit tab order 2
Alphabetically Sort
Remove table from dashboard
if ( ! function_exists( 'wcv_remove_recent_order_table_columns' ) ) { /** * Remove columns from Recent Orders table…
Recent products table
if ( ! function_exists( 'wcv_remove_recent_product_table_columns' ) ) { /** * Remove columns from Recent Products table…