W3 Total Cache
WPMU Removing Performance Menu (2 posts)

  1. samuelwight
    Posted 2 years ago #

    Is there any way to remove the "Performance" menu on every site when W3 Fastest Cache is enabled on WPMU? I'm just wanting the W3 Fastest Cache settings on the network admin.


  2. jdf2
    Posted 2 years ago #

    To remove the menu from the dashboard use the following code:

    add_action( 'admin_menu', 'my_remove_menus', 999 );
    add_action( 'wp_before_admin_bar_render', 'wps_admin_bar' );
    //Remove the dashboard menu:
    function my_remove_menus() {
    	remove_menu_page( 'w3tc_dashboard' );
    //Remove the button from the adminbar/toolbar:
    function wps_admin_bar() {
        global $wp_admin_bar;

    This works for me. Of course you will need to have a plugin to call these functions. I recommend just make a plugin to call stuff like this for you...

    This is my first time on WP support so if I did something wrong feel free to tell me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic