Created
August 2, 2018 20:24
-
-
Save fervous/a7811d5974ea0f18a78030ef8728621d to your computer and use it in GitHub Desktop.
remove hide store tab from vendor dashboard settings page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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