Prevent users from submitting Listings

Hello there,

I understood that any user that has a listing accepted will become a vendor.

Is there any way to prevent users from submitting Listings, and only those users that I set as vendors can submit Listings? So normal users can only buy stuff?

That would give a more professional look to the platform.

Thank You.

Hi,

You can hide the Add Listing button from regular users using this PHP code snippet Hide the Add Listing button from regular users #hivepress #listings · GitHub

In that case, users will be able to register on your website, and by default, they all will be “regular users”. Then you can go to the WP Dashboard > Users section and change the User Role from “subscriber” to “contributor” for those users who will be vendors (and the button will appear for them).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.