remove red message to install dashboard

i installed Scheduled Content plugin to a clients site but i dont want to install the dashboard and i want to get rid of the red message at the top, telling me to install the dashboard

  • Timothy Bowers

    Hey there.

    You would need to edit the code to remove that.

    Installing the Dashboard plugin would lock into your username so your client wouldn't be able to see that without your login and password.

    If you really want to remove it and not install the plugin then open:

    /scheduled-content/scheduled-content.php - Right down on the bottom there.

    and remove:

    ///////////////////////////////////////////////////////////////////////////
    /* -------------------- 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="https://premium.wpmudev.org/project/update-notifications/" title="Download Now &raquo;">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="https://premium.wpmudev.org/wpmu-dev/update-notifications-plugin-information/">More information &raquo;</a>', 'wpmudev') . '</a></p></div>';
      }
    }
    /* --------------------------------------------------------------------- */

    Take care.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.