suggestions: Hide Redis Dashboard Meta Box for non-Administrators

Showing the Redis dashboard meta box to all admin users does not make sense. I suggest you only display it for administrators.

For those looking to hide it for non-administrators, here the code for that:

add_action( 'do_meta_boxes', 'remove_plugin_dashboard_meta' );

function remove_plugin_dashboard_meta(){
    if ( !current_user_can('administrator') ) {
        remove_meta_box( 'dashboard_rediscache', 'dashboard', 'normal' );
    }
}

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer