WordPress.org

Support

Support » How-To and Troubleshooting » [Plugin: The Events Calendar] Remove Events Menu on Admin Bar

[Plugin: The Events Calendar] Remove Events Menu on Admin Bar

Viewing 3 replies - 1 through 3 (of 3 total)
  • Me too! Please help. I also own the paid version.

    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’ );

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: The Events Calendar] Remove Events Menu on Admin Bar’ is closed to new replies.