• Resolved Andy Fragen

    (@afragen)


    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

    (@afragen)

    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

    (@capuderg)

    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.

    Take care!

    Thread Starter Andy Fragen

    (@afragen)

    Thanks Gregor.

    Plugin Author Gregor Capuder

    (@capuderg)

    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!

    @capuderg,

    Please refer to this forum post 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.