How do I change which users have access to Link Whisper?

Link Whisper

Last Update a year ago

By default, most of Link Whisper’s functionality is restricted to users that have the “manage categories” capability. Since Editors are the lowest user role that can edit categories, this restricts Link Whisper to Editors and above.


To make Link Whisper available to users with different capabilities, we have created a filter so you can set the minimum capability requirement.


If for example, your authors have the “edit posts” capability, this piece of code will make Link Whisper available to them.

To install it, you’ll need to either use a code snippet plugin, or if you’re using a child theme paste it into the child theme’s functions.php file.


(For a list of the different WordPress capabilities, and how they relate to default roles, please check out this article)

Controlling feature access.

You can control what major features of Link Whisper users have access to by using an additional filter.


The filter is called “wpil_filter_menu_listings”, and it allows you to filter what features of Link Whisper are accessible from the Dashboard menu.


The list of available items are:

  • ‘link_whisper_inbound_internal’, // The Links Report
  • ‘link_whisper_autolinking’, // The Autolinking
  • ‘link_whisper_target_keywords’, // The Target Keyword Report
  • ‘link_whisper_url_changer’, // The URL Changer
  • ‘link_whisper_settings’, // The Link Whisper Settings


Removing any of them from the list will remove it’s associated feature. The Dashboard page is always available because it’s needed as an anchor for the other menu items.


If for example, you want to remove the Autolinking from users that don’t have the ability to publish posts, you can use custom code such as this:

Now any users that don’t have the permission to publish posts won’t be able to access the Autolinking:

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us