• Resolved nessachu

    (@nessachu)


    I want to remove the CVG menu from the admin toolbar.

    I’m using the following code, which works for removing other toolbar items but this doesn’t seem to work for the CVG toolbar links. Does anybody know what the correct parameter is for CVG admin bar?

    <?php
    function mytheme_admin_bar_render() {
        global $wp_admin_bar;
        $wp_admin_bar->remove_menu('admin_bar_menu_cvg');
    }
    
    add_action( 'wp_before_admin_bar_render', 'mytheme_admin_bar_render' );
    ?>

    http://wordpress.org/extend/plugins/cool-video-gallery/

Viewing 1 replies (of 1 total)
  • Plugin Author Praveen Rajan

    (@praveen-rajan)

    Go to plugin main file cool-video-gallery.php

    Function: CoolVideoGallery()

    Comment out the below 2 lines:

    //adds admin menu options at topbar to manage
    if ( is_admin() )
    add_action( 'admin_bar_menu', array(&$this, 'admin_bar_menu_cvg'), 100 );
Viewing 1 replies (of 1 total)
  • The topic ‘How to remove CVG menu from toolbar’ is closed to new replies.