The Pro version of PublishPress Capabilities allows you to block access to admin menu links in the Jetpack plugin. This is useful because Jetpack has limited options for managing who can access the admin screens and important features.
Jetpack is a plugin built by Automattic, the company behind WordPress.com. This plugin offers many different services including backups, spam blocking, analytics, malware scans, contact forms, and more.
When you first install the Jetpack plugin, you'll see one top-level menu link, plus at least 2 sub-menus:
- Dashboard
- Settings
It is possible to control who can access these Jetpack 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 Jetpack 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 Jetpack access.
- Scroll down and you can enter a red X for any Jetpack 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 Jetpack menu links that you have blocked:
This approach works for the core Jetpack plugin and can also be used for add-on plugins such as Jetpack CRM and others.