Support

Home Forums Event Espresso Premium Remove Event Espresso Shortcut Menu

Remove Event Espresso Shortcut Menu

Posted: June 26, 2017 at 2:51 pm


BoostersInABox

June 26, 2017 at 2:51 pm

How do I remove the Event Espresso shortcut menu from the top nav menu in WordPress?


Josh

  • Support Staff

June 26, 2017 at 4:14 pm

There’s a WordPress function you can use to remove items from the top admin bar:

https://codex.wordpress.org/Function_Reference/remove_node

So for Event Espresso you’d add something like this:

add_action( 'admin_bar_menu', 'my_custom_menu_bar_no_ee', 999 );
function my_custom_menu_bar_no_ee( $wp_admin_bar ) {
  $wp_admin_bar->remove_node( 'espresso-toolbar' );
}

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.

The support post ‘Remove Event Espresso Shortcut Menu’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso