how can disable Update Notifications plugin so is not showing on sub sites?

Hi, how can disable Update Notifications plugin so is not showing on sub sites?

i have deactivate it on Network but and when i go to main site is not there to acivate any ideas?

  • Timothy
    • Chief Pigeon

    Hey there! :slight_smile:

    Just checking in to see how things are going with this one and if you need any further help. :slight_smile:

    We haven't heard from you on this thread for a while, perhaps you got help over email. I'm going to presume your all fixed up now and don't need any further assistance.

    However if you have more questions or need some more help then please feel free to respond in this thread or create a new one and we will be more than happy to offer assistance. :slight_smile:

    Take care.

  • Timothy
    • Chief Pigeon

    Okie dokie. :slight_smile:

    In any plugin, the main file can also be edited to remove the update notification function. So if this were MarketPress then you would open:


    Find this:

    /* -------------------- Update Notifications Notice -------------------- */
    if ( !function_exists( 'wdp_un_check' ) ) {
      add_action( 'admin_notices', 'wdp_un_check', 5 );
      add_action( 'network_admin_notices', 'wdp_un_check', 5 );
      function wdp_un_check() {
        if ( !class_exists( 'WPMUDEV_Update_Notifications' ) && current_user_can( 'install_plugins' ) )
          echo '<div class="error fade"><p>' . __('Please install the latest version of <a href="" title="Download Now »">our free Update Notifications plugin</a> which helps you stay up-to-date with the most stable, secure versions of WPMU DEV themes and plugins. <a href="">More information »</a>', 'wpmudev') . '</a></p></div>';
    /* --------------------------------------------------------------------- */

    And remove it or....

    Add this to your themes function file or create a plugin (You could use the MU folder in Multisite or Network Activate):

    if ( function_exists( 'wdp_un_check' ) ) {
      remove_action( 'admin_notices', 'wdp_un_check', 5 );
      remove_action( 'network_admin_notices', 'wdp_un_check', 5 );

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.