WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Steve
    Member
    Posted 6 months ago #

    Hi,

    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.

    http://wordpress.org/plugins/admin-menu-editor/

  2. Janis Elsts
    Member
    Plugin Author

    Posted 6 months 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
    Member
    Posted 6 months ago #

    Yes that all makes sense.

    Thank-you!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.