Google Analytics Dashboard Stats
[resolved] Display widget to editors capability (3 posts)

  1. athalas
    Posted 4 years ago #


    Thank you for the great plugin. How would we go about displaying the stats widget to all users with the editor capability?

    Thank you


  2. mmattner
    Plugin Author

    Posted 4 years ago #

    This is something I likely need to address in a new release, so that you can manage who can and cannot see the stats.

    If you'd like this capability now, you can edit the dashboard-stats.php file around line 385. It should read:

    if(current_user_can('manage_options')) {

    Change it to:

    if(current_user_can('edit_pages')) {

    and you should be set. If you have any trouble, let me know.

  3. athalas
    Posted 4 years ago #

    Thank you for the reply. I've made the change and its displaying for our editors now.

    Looking forward to any upcoming releases of your great plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics Dashboard Stats
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic