Hi, is there a way to dynamically change user roles in HivePress if the role is updated let’s from Contributor back to Subscriber via the admin dashboard? Because currently changing the user role of a user who becomes a vendor(Contributor) via the admin area does nothing, the user remains a vendor and is able to add listings even when it is showing subscriber in the backend.
And can you assist with a snippet to query regular users excluding users with a vendor profile?
Unfortunately, there is no such possibility because, with any update, the user will automatically be assigned the Contributor role because this is the minimum role in WP to own content (we recommend not using the Subscriber role, as there may be issues with it). If you are writing a query code, you can get the role using get_users.