Support

Home Forums Event Espresso Premium Hide Extensions and Services

Hide Extensions and Services

Posted: February 19, 2016 at 6:34 am

Viewing 3 reply threads


Gaviny

February 19, 2016 at 6:34 am

Hi
We are using roles to restrict various EE capabilities. Is it possible to hide the “Extensions and Services” sub menu item in the top nav event espresso menu. This goes to the following page:
admin.php?page=espresso_packages


Tony

  • Support Staff

February 19, 2016 at 7:28 am

Hi there,

The Extensions & Services menu item uses the ee_read_ee capability, however that cap is required for multiple sections of the plugin.

So what you can do is remove that menu based on if the user has another cap, say ‘manage_options’ which would generally only be applied to Administrator roles that have full access.

There’s 2 sections for that menu, one within the Dashboard under Event Espresso and the other within the Admin bar, again within Event Espresso. The admin bar is a little trickier but can still be done, take a look at this example:

https://gist.github.com/Pebblo/47ba0ea1f0367f760288


Gaviny

February 19, 2016 at 8:44 am

Don’t you just love it when stuff works.

Many thanks – just the job


Tony

  • Support Staff

February 19, 2016 at 11:22 am

You’re most welcome 🙂

Viewing 3 reply threads

The support post ‘Hide Extensions and Services’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso