Turn Ultimate Branding off on couple sites

I have about 30 similar sites and 4 that do not apply to the text changes that I want to occur on all of the other sites. How would I turn Ultimate Branding off on just one site?

  • Sajid

    Hi @info4400,

    Hope you are doing good today :slight_smile:

    You can deactivate some plugins for some sites using Multisite Plugin Manager.

    If you are not a fan of plugin then alternatively you can also use this snippet to deactivate plugins for specific sites.

    /*
    	This simple snippet willy disable plugin per site basis.
    	Replace 2,3,4 with acutal website ID(s) for those you want to disable this plugin
    	This snippet can also be used to disable any network activated plugin. Only thing you have to do is copy the folder and file name of plugin e.g akismet/akismet.php
    */
    add_filter('site_option_active_sitewide_plugins', 'wpmu_modify_sitewide_plugins');
    function wpmu_modify_sitewide_plugins($value) {
        global $current_blog;
        if( in_array( $current_blog->blog_id, array(2,3,4) ) ) {
            unset($value['ultimate-branding/ultimate-branding.php']);
        }
        return $value;
    }

    The numbers are IDs of the website you need to replace with real IDs of subsites you want to deactivate plugins.

    Hope that helps! Feel free to post a reply if you need further assistance :slight_smile:
    Cheers, Sajid

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.