PHP Code to Make Requests page visible only to vendors

Looking for a PHP Code Snippet to restrict Request page to Vendors/Contributors Only.

Have looked into Nav Menu Plugin but this just hides the Menu, thinking fulling blocking non vendors is safer.

Thanks for your message — our team will reply shortly.

In the meantime, you can also get instant help from our AI Assistant, familiar with all the docs and solutions we’ve shared over the years.

Hi,

You may want to consider using the Membership plugin to restrict access to pages, this could also serve as a monetization option for your site.

If this option doesn’t quite fit your needs, please feel free to check the solution using a third-party plugin here: Restrict requests page visibility to vendors only.

Hope this helps

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