0

I wrote a custom wordpress plugin that is shown in the left menu bar in the backend of WP.

My problem is, that it is just shown if I log in as an administrator. If the editor logs in he can't see it. Is there any way that I can enable it so that every role can see it?

I tried to google the problem but didn't get any satisfying results, that's why I am asking it here.

Thanks for your answer!

Felix Kling
  • 795,719
  • 175
  • 1,089
  • 1,143
Sebsemillia
  • 9,366
  • 2
  • 55
  • 70

1 Answers1

2

You need to set the proper capability, third parameter in the add_option_page() function which you would have used to create the menu.

http://codex.wordpress.org/Function_Reference/add_options_page

Sudar
  • 18,954
  • 30
  • 85
  • 131