Support » Plugin: Jetpack - WP Security, Backup, Speed, & Growth » How do I disable the WordPress.com toolbar?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Gaurav Tiwari

    (@gauravtiwari)

    Additionally, this code that I used to disable this ‘masterbar’, isn’t working as well.

    
    function disable_wpcomtoolbars ( $modules ) {
        if ( isset( $modules['masterbar'] ) ) {
          unset( $modules['masterbar'] );
        }
        return $modules;
    }
    add_filter( 'jetpack_get_available_modules', 'disable_wpcomtoolbars' );
    
    Thread Starter Gaurav Tiwari

    (@gauravtiwari)

    Looks like this code was conflicting.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.