Skip to content

Instantly share code, notes, and snippets.

@fervous
Created May 3, 2017 16:03
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/8c9118a388c1bf2db9d6a9c839a47f33 to your computer and use it in GitHub Desktop.
Save fervous/8c9118a388c1bf2db9d6a9c839a47f33 to your computer and use it in GitHub Desktop.
change store name to NOT required wc vendors pro
function wcv_vendor_store_name_not_required( $args ) {
$args[ 'custom_attributes' ] = array();
return $args;
}
add_filter( 'wcv_vendor_store_name', 'wcv_vendor_store_name_not_required' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment