Skip to content

Instantly share code, notes, and snippets.

@fervous
Created August 2, 2018 20:24
Show Gist options
  • Save fervous/a7811d5974ea0f18a78030ef8728621d to your computer and use it in GitHub Desktop.
Save fervous/a7811d5974ea0f18a78030ef8728621d to your computer and use it in GitHub Desktop.
remove hide store tab from vendor dashboard settings page
/* WC Vendors Pro remove store tab on settings page */
add_filter('wcv_store_tabs', 'remove_store_tab' );
function remove_store_tab( $store_tabs ){
unset( $store_tabs['store'] );
return $store_tabs;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment