Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does the menu appear both in the admin bar and in the dashboard? #10

Open
raphaelh opened this issue Nov 5, 2015 · 2 comments
Open

Comments

@raphaelh
Copy link

raphaelh commented Nov 5, 2015

Why does the menu appear both in the admin bar and in the dashboard?

One is in functions/alo-easymail-dashboard.php line 346

and the onther one in alo-easymail-admin-options.php line 107

Also, one has a submenu named "Options" and the other one has a submenu named "Settings"

@groucho75
Copy link
Owner

The menu appears in admin bar and in dashboard side menu, of course. I wanted to make easy the access to plugin pages :)
I can remove the one in admin bar add the following line in your functions.php:

remove_action( 'admin_bar_menu', 'alo_em_add_menu_toolbar', 45 );

I'll change the admin bar submenu from Options to Settings, thanks for the remark.

@jeffmcneill
Copy link

Would like to change this issue into a Feature Request to have a checkbox in settings to toggle the Admin Bar menu item on/off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants