Support

Home Forums Event Espresso Premium Add to Event Espresso Menu

Add to Event Espresso Menu

Posted: December 3, 2018 at 1:17 pm

Viewing 2 reply threads


ARAGATO

December 3, 2018 at 1:17 pm

I would like to add my plugin to the Event Espresso menu:
http://uploads.aragato-server.net/screenshots/201812030cffbc93af.png

1) How can I add it under the section “Add-ons” in the event espresso menu.
2) How can I such grey divider heading, e.g. Management, Add-ons etc. and then put my plugin item below it?


Josh

  • Support Staff

December 4, 2018 at 10:01 am

Hi,

The menu groups are filterable with
FHEE__EE_Admin_Page_Loader___set_menu_groups__admin_menu_groups
you can check the source to see how they’re added:
https://github.com/eventespresso/event-espresso-core/blob/master/core/admin/EE_Admin_Page_Loader.core.php#L141

Then, depending on what your plugin does, you can follow the example from one of the add-ons. For example if your plugin adds a custom post type, you could follow how the People add-on adds its menu item. If your plugin doesn’t add a custom post type, you could follow how the Promotions add-on adds its menu item.

If none of the above are viable options, you could follow this guide for adding menu items to general locations:
https://davidwalsh.name/wordpress-admin-add-menu-item


ARAGATO

December 4, 2018 at 1:53 pm

great. 😀
Solved

Viewing 2 reply threads

The support post ‘Add to Event Espresso Menu’ 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