Home Forums WC Vendors Pro Support default role of denied vendor

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.


Thank you to all of our customers!


Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #61263

    Is there a way to change default role of denied vendor from subscriber into client?

    Thanks a lot for your swift help!


    From what I can see, at this time the only way to modify this would be to change a core file. This is not recommended; but if you keep track of this change, and re-do it when you update WC Vendors (free) then it should work. It is just not update-safe.

    In this file: wp-content/plugins/wc-vendors/classes/admin.class-vendors-applicants.php
    Approximately line 51, You’ll see

    case 'deny_vendor':
    $role = 'subscriber';

    You need to change 'subscriber' to your desired role.


    That’s what I needed.


    You are welcome. I will see if a filter can be added here in a future update, so the change can be made with a filter in your functions.php and be update safe.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.