Home › Forums › WC Vendors Pro Support › Bypass Vendor Application › Reply To: Bypass Vendor Application
May 16, 2017 at 9:47 pm
#65370
Member
Seal,
If you have your vendors register using the WooCommerce my-account page, then you can use this code in your theme/child theme functions.php file to force the role to vendor rather than customer (woocommerce’s default role for registrations on the my-account page):
https://gist.github.com/fervous/b47ee7de79bf13455e7875bf240130c0