Control Access to WPForms Admin Menus
The Pro version of PublishPress Capabilities allows you to block access to admin menu links in the WPForms plugin. This is useful because WPForms has limited options for managing who can access the admin screens and important features.
WPForms is one of the most popular WordPress contact form plugin with millions of active installs. WPForms allows you to create beautiful contact forms, feedback forms, subscription forms, payment forms, and more.
When you first install the WPForms plugin, you'll see one top-level menu link, plus at least 10 sub-menus:
- All Forms
- Add New
- About Us
It is possible to control who can access these WPForms plugin links by using the PublishPress Capabilities Pro plugin.
- After installing PublishPress Capabilities Pro, go to “Capabilities”, then “Admin Menus” in your WordPress admin area:
- In the top-left corner of this screen, choose the role that you want to edit. In the image below, I'm going to restrict WPForms access for the “Administrator” role. If you do this, I would recommend making a copy of the Administrator role so that one role still has full WPForms access.
- Scroll down and you can enter a red X for any WPForms menu link that you don't want users in the Administrator role to access.
- Click “Save Changes”.
Now when an Administrator logs in to your site, they will not be able to see the WPForms menu links that you have blocked:
This approach works for the core WPForms plugin and can also be used for add-on plugins such as Form Abandonment, Form Locker, Offline Forms, and more.