How Can I Customize Access to Feedzy Dashboard?

WordPress dashboard allows you to add multiple users on your website, depending on their role: Editor, Subscriber, Contributor, etc., inside Dashboard > Users.

๐Ÿ” Access to Feedzy Menu

Each role has different permissions across your website, e.g. the Contributor cannot access Feedzy Dashboard. To change this, we have provided a filter that helps change the Feedzy menu register capability.


Copy this code snippet.

	function( $capability ) {
		if ( current_user_can( 'contributor' ) ) {
			return 'edit_posts';
		return $capability;

Paste the code into the currently active theme functions.php file or using Code Snippets.

๐Ÿ“ Note: This code snippet adds capabilities for the contributor role. You can change the user role by replacing 'contributor' with what you need (e.g. 'subscriber').

๐Ÿ“Note: If you paste the code snippet into the plugin's source file, the changes will be lost when you update the plugin. The same thing may happen when you update the theme, this is why we recommend using a child theme.

Save the changes and check the website from a different role.

โช Before

โฉ After

๐Ÿš€ Extended Capabilities

Once you have made these changes, you will allow the contributor role to access Feedzy's settings and make new imports. To extend the capabilities of each role, you can use the User Role Editor plugin. 


Navigate to Users > User Role Editor.


Select the role for which you want to change capabilities (e.g. contributor).


Unlock the desired capabilities from the list.


Click on the Update button.

In this case, we will enable the contributor to edit posts, including Feedzy imported posts. For this, we checked the following capabilities:

  • edit others posts
  • edit posts
  • edit published posts


Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us