Update: I have tried using the User Role Editor plugin to give the Contributor role the 'publish_post’ permission for Listings, but the Listings I made to test still end up pending approval.
It doesn’t check the capabilities of a contributor, this role is simply assigned because it’s the minimum required for WordPress to allow assigning authors to content.
Also, thank you for the feature suggestion, we’ll consider implementing it. For now, please try the following code snippet. Please note that it does not bypass the “Listing Submitted” page. As a workaround, you can update the text on that page to something like: If you already have published listings, your new listing will be published automatically. If this is your first listing, it will be reviewed shortly.
Yes, I think this would be a valuable option to add to the Hivepress → Vendor settings, and it seems like it would be fairly simple to implement as well.
If you have a minute, please rate HivePress on the WordPress repository or Trustpilot. Your feedback means a lot to us and makes a real difference in helping us grow.