Title: Hide certain updates
Last modified: May 30, 2019

---

# Hide certain updates

 *  Resolved [dvdmcmhn](https://wordpress.org/support/users/dvdmcmhn/)
 * (@dvdmcmhn)
 * [7 years ago](https://wordpress.org/support/topic/hide-certain-updates/)
 * Is there a way to hide certain updates? For example: I don’t want my client to
   see WordPress or plugin updates.

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

 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [7 years ago](https://wordpress.org/support/topic/hide-certain-updates/#post-11587157)
 * yes, there is a filter `simple_history/log/do_log` that you can use to control
   what is logged or not. see the examples file for example usage:
 * [https://github.com/bonny/WordPress-Simple-History/blob/master/examples/examples.php#L49](https://github.com/bonny/WordPress-Simple-History/blob/master/examples/examples.php#L49)
 *  Thread Starter [dvdmcmhn](https://wordpress.org/support/users/dvdmcmhn/)
 * (@dvdmcmhn)
 * [7 years ago](https://wordpress.org/support/topic/hide-certain-updates/#post-11590535)
 * Thanks, but would you be able to tell me what I should type in there to disable
   WordPress and plugin updates?
 * This link only shows Pages and Attachments but I don’t know what to replace it
   with.
 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/hide-certain-updates/#post-11643528)
 * This should work, just place it in `functions.php` or similar:
 *     ```
       // No not log plugin updates or installations
       add_filter('simple_history/log/do_log/SimplePluginLogger', '__return_false')
   
       // No not log wordpress updates
       add_filter('simple_history/log/do_log/SimpleCoreUpdatesLogger', '__return_false')
       ```
   
 *  Thread Starter [dvdmcmhn](https://wordpress.org/support/users/dvdmcmhn/)
 * (@dvdmcmhn)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/hide-certain-updates/#post-11651468)
 * Hi, I ran this but it gave me an error
 * syntax error, unexpected ‘add_filter’ (T_STRING)
 *  Thread Starter [dvdmcmhn](https://wordpress.org/support/users/dvdmcmhn/)
 * (@dvdmcmhn)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/hide-certain-updates/#post-11669163)
 * Can I get an update?
 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/hide-certain-updates/#post-11728685)
 * Ah, I missed to add semicolons. This should work:
 *     ```
       // No not log plugin updates or installations
       add_filter('simple_history/log/do_log/SimplePluginLogger', '__return_false');
   
       // No not log wordpress updates
       add_filter('simple_history/log/do_log/SimpleCoreUpdatesLogger', '__return_false');
       ```
   

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

The topic ‘Hide certain updates’ 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/)

 * 6 replies
 * 2 participants
 * Last reply from: [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/hide-certain-updates/#post-11728685)
 * Status: resolved