Created
December 19, 2018 03:17
-
-
Save fervous/9c34dccee80e0b278a221c3b6e87d18b to your computer and use it in GitHub Desktop.
remove / unset add product button pro vendor dashbaord wc vendors pro
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 add product button pro vendor dashboard */ | |
add_filter('wcv_dashboard_quick_links', 'remove_add_product' ); | |
function remove_add_product( $quick_links ){ | |
unset( $quick_links['product'] ); | |
return $quick_links; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment