Skip to content

Instantly share code, notes, and snippets.

@fervous
Created December 19, 2018 03:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fervous/9c34dccee80e0b278a221c3b6e87d18b to your computer and use it in GitHub Desktop.
Save fervous/9c34dccee80e0b278a221c3b6e87d18b to your computer and use it in GitHub Desktop.
remove / unset add product button pro vendor dashbaord wc vendors pro
/* 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