Support

Account

Home Forums Backend Issues (wp-admin) Option page for non-admin user role

Solved

Option page for non-admin user role

  • I created an option page using acf_add_options_page() function and it is working good, but I can’t show that option page for Editor user.
    Could anyone please help.

  • When creating the options page there is a “capability” argument. This is used to alter what capability a user needs to view the options page. By default this is set to “manage_options” https://www.advancedcustomfields.com/resources/acf_add_options_page/

  • Thanks a lot John Huebner.
    it was always in front of my eyes and I set it to administrator 😛
    Solved.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.