Remove Events Calendar from admin bar
-
Unfortunately it does not seem to be possible to remove the Events Calendar from the admin bar (when logged in). I tried removing it by adding the following code to functions.php:
function custom_toolbar_link($wp_admin_bar) { $wp_admin_bar->remove_node('tribe-events'); } add_action('admin_bar_menu', 'custom_toolbar_link', 999);
$wp_admin_bar->get_nodes()
does not list the item. none of the following ids seems to work:tribe-events
,tribe-events-group
,tribe-events-view-calendar
(although visible in the source html code) as described here.Any suggestions?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Remove Events Calendar from admin bar’ is closed to new replies.