Removing the Events dropdown from the WP admin bar

Published on: September 13, 2012 | Categories: Tutorial

Starting in The Events Calendar 2.0.9, you can remove this “Events” dropdown menu that appears in the WordPress admin bar:

Events in admin bar

Simply add this bit of code into your wp-config file, and make sure before doing so that you’re running 2.0.9…as it won’t work any earlier versions of the plugin:

define('TRIBE_DISABLE_TOOLBAR_ITEMS', true);

Changing the ‘true’ to ‘false’ will bring the “Events” menu back; it’s only hidden when ‘true’ is in place.