How to I remove the Spammy dashboard Notification

I absolutely do not want the WPMUDEV dashboard notification on any site I use a wpmudev plugin. How do I get rid of the spam? I have tried
#wpmu-install-dashboard {
display:none !important;
}

But there is something overriding my CSS rule which is so not cool.

I need to know what to do for any plugin to disable this crap by default. You guys can't play nice like other plugin creators and create a simple dismiss notice link.. can you?

  • Vinod Dalvi

    Hi Todd,

    Welcome to the WPMU Dev community and thanks for posting on the forum.

    I am not sure regarding what dashboard Notification you are talking about.

    If you are talking about Admin notices displayed only for administrator users then you can hide them from the WPMU DEV Dashboard settings as described in the "Hide & Branding" section on the following page

    https://premium.wpmudev.org/project/wpmu-dev-dashboard/#product-usage

    Are you getting notification about installing WPMU DEV Dashboard plugin that provides you the full WPMU DEV experience in your WordPress dashboard – from instant access to brilliant support to one-click installation and upgrades for our complete plugin and theme catalog?

    If you don't want to install WPMU DEV Dashboard plugin and want to remove this notification then you can do so by using the attached small plugin.

    If you are not sure about this then could you please share the screenshot of it?

    Best Regards,
    Vinod Dalvi

  • Todd Sumrall

    I don't want the dashboard. When I install a plugin I don't want a install dashboard notification. I don't care how cool you think it is. You are hijacking my space and making WordPress load unnecessary stuff (hint bloatware) and I don't like it.

    I don't want to have to install a plugin just to fix a problem of another plugin. That is just more crap to load to solve the original crap problem. Give me a function that prevents this on all plugins, or quit blocking css rules, or add a simple damn dismiss link for crying out loud!

  • Vinod Dalvi

    Hi Todd,

    You can use the following code to remove it.

    //We're simply creating an empty class so that they exist when our plugins look for them.
    if ( !class_exists('WPMUDEV_Dashboard_Notice') ) {
    	class WPMUDEV_Dashboard_Notice {}
    }
    //This is legacy for older plugins that still use our previous method of adding the dashboard notice.
    if ( function_exists( 'wdp_un_check' ) ) {
      remove_action( 'admin_notices', 'wdp_un_check', 5 );
      remove_action( 'network_admin_notices', 'wdp_un_check', 5 );
    }
    if ( ! function_exists( 'remove_anonymous_object_filter' ) )
    {
        function remove_anonymous_object_filter( $tag, $class, $method )
        {
            $filters = $GLOBALS['wp_filter'][ $tag ];
    
            if ( empty ( $filters ) )
            {
                return;
            }
    
            foreach ( $filters as $priority => $filter )
            {
                foreach ( $filter as $identifier => $function )
                {
                    if ( is_array( $function)
                        and is_a( $function['function'][0], $class )
                        and $method === $function['function'][1]
                    )
                    {
                        remove_filter(
                            $tag,
                            array ( $function['function'][0], $method ),
                            $priority
                        );
                    }
                }
            }
        }
    }
    add_action( 'init', 'kill_anonymous_example', 0 );
    function kill_anonymous_example()
    {
        remove_anonymous_object_filter(
            'init',
            'WPMUDEV_Dashboard_Notice3',
            'init'
        );
    }

    Regards,
    Vinod Dalvi

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.