Title: exclude Plugin Update notice
Last modified: September 6, 2023

---

# exclude Plugin Update notice

 *  [dyuen888](https://wordpress.org/support/users/dyuen888/)
 * (@dyuen888)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/exclude-plugin-update-notice/)
 * Our hosting provider locked down updates and cannot update without promote from
   dev->test->prod . Because of that, it is possible to stop logging on all the 
   WordPress and plugin updates notice? We manage them ourselves and don’t need 
   simple history to log entries to remind us.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [dyuen888](https://wordpress.org/support/users/dyuen888/)
 * (@dyuen888)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/exclude-plugin-update-notice/#post-17031202)
 * I think I have an answer but need to test it to be sure:
 * will add to functions.php
 *     ```wp-block-code
       add_filter(
       'simple_history/log/do_log',
       function ($doLog, $level, $message, $context, $logger) {
       // Bail if not correct logger.
       if ($logger->get_slug() !== 'AvailableUpdatesLogger') {
       return $doLog;
       }
   
       // Do not log this message since it's from 'AvailableUpdatesLogger'.
       return false;
       },
       10,
       5
       );
       ```
   
 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/exclude-plugin-update-notice/#post-17032067)
 * That code seems to be correct, let me know if you get it to work or if you need
   further assistance!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘exclude Plugin Update notice’ is closed to new replies.

 * ![](https://ps.w.org/simple-history/assets/icon.svg?rev=3225008)
 * [Simple History – Track, Log, and Audit WordPress Changes](https://wordpress.org/plugins/simple-history/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-history/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-history/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-history/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-history/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-history/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/exclude-plugin-update-notice/#post-17032067)
 * Status: not resolved