WordPress.org

Forums

The Events Calendar
Remove Events Menu on Admin Bar (4 posts)

  1. Adam
    Member
    Posted 2 years ago #

    How can I remove the Events menu on the Admin Bar? This is unwanted.

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. cmccrone
    Member
    Posted 2 years ago #

    Me too! Please help. I also own the paid version.

  3. cmccrone
    Member
    Posted 2 years ago #

    Here you go bud! I just figured it out.

    Add this to the very end of your themes Function.php (wp-admin/themes/theme-name/funtions.php)

    <?php
    function wp_remove_events_from_admin_bar() {
    global $wp_admin_bar;
    $wp_admin_bar->remove_menu('tribe-events');
    }
    add_action( 'wp_before_admin_bar_render', 'wp_remove_events_from_admin_bar' );

  4. Rob La Gatta
    Modern Tribe Support
    Plugin Author

    Posted 2 years ago #

    Awesome to hear you got this figured out, cmccrone. Just a heads up that if you own the PRO version, the forum on the tri.be site is generally faster than here (as we hit that every 24-48 hours while only coming over here once a week or so).

    Adamcole83: this get you where you need to be? Let us know if you still have any questions here or if this issue is resolved based on cmccrone's tip. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • The Events Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic