Title: Hide admin bar menu
Last modified: August 20, 2020

---

# Hide admin bar menu

 *  Resolved [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/hide-admin-bar-menu/)
 * How do I hide/remove the new admin bar menu. There is already a standard WP Mail
   SMTP settings menu. I don’t need to see an admin bar menu too.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/hide-admin-bar-menu/#post-13288145)
 * I have set option to hide mail delivery errors.
 * Email Delivery Errors were disabled using a wp_mail_smtp_admin_is_error_delivery_notice_enabled
   filter.
 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/hide-admin-bar-menu/#post-13288190)
 * Hi Andy,
 * the admin menu bar is displayed only when there are errors or a new notification
   is available. Currently, there shouldn’t be any notifications.
 * With this latest plugin update the email errors are only displayed on the plugin
   admin pages (not on all dashboard pages anymore), that’s why we added the admin
   bar menu, to let you know there is an error.
 * You should be able to remove the admin bar menu with this code if you really 
   want to remove it:
 * `add_filter( 'wp_mail_smtp_admin_adminbarmenu_has_access', '__return_false' );`
 * Here is an article on [how to add PHP code to your site](https://www.wpbeginner.com/beginners-guide/beginners-guide-to-pasting-snippets-from-the-web-into-wordpress/).
 * Take care!
 *  Thread Starter [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/hide-admin-bar-menu/#post-13288235)
 * Thanks Gregor.
 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/hide-admin-bar-menu/#post-13288413)
 * Hi Andy,
 * no problem 🙂
 * Thanks for reporting this. We’ll improve the display of admin bar menu, if the
   email delivery errors are disabled.
 * Have a nice day!
 *  [jetxpert](https://wordpress.org/support/users/jetxpert/)
 * (@jetxpert)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/hide-admin-bar-menu/#post-13301985)
 * [@capuderg](https://wordpress.org/support/users/capuderg/),
 * Please refer to [this forum post](https://wordpress.org/support/topic/admin-bar-could-not-load-content-404-error/)
   for additional, useful information related to this topic.
 * Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Hide admin bar menu’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [jetxpert](https://wordpress.org/support/users/jetxpert/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/hide-admin-bar-menu/#post-13301985)
 * Status: resolved