Admin Menu Editor
[resolved] WooCommerce Issues (3 posts)

  1. Steve
    Posted 2 years ago #


    This is a really great plugin. Thank-you.

    However, I do notice some issues with the free plugin WooCommerce. Namely some extra menu items seem to appear (when they shouldn't) and cannot be removed under the Dashboard and WooCommerce top-level branches.


  2. Janis Elsts
    Plugin Author

    Posted 2 years ago #

    If I recall correctly, WooCommerce adds those menu items "for internal use". Normally it deletes them just before the final admin menu is displayed, but with AME active that doesn't work as expected because it sees the menus before they're deleted. Unfortunately, this is not really fixable.

    What you could do is hide the extra menu items. Try enabling the "show/hide" button in AME settings (click the "Settings" link next to the "Menu Editor" page title).

    Technical explanation

    In case you're interested, here's basically what happens when you load an admin page:

    1. WordPress creates the default admin menu.
    2. WooCommerce adds a bunch of menu items.
    3. Other plugins add their own items.
    4. Admin Menu Editor makes a copy of the entire admin menu and applies your custom settings (if any) to the copy.
    5. WooCommerce deletes the extra menu items. This does not affect the copy that AME has.
    6. Admin Menu Editor replaces the default admin menu with the customized copy.
    7. WordPress displays the admin menu.
  3. Steve
    Posted 2 years ago #

    Yes that all makes sense.


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.