Title: Remove specific user log events
Last modified: January 30, 2020

---

# Remove specific user log events

 *  Resolved [rino3analista](https://wordpress.org/support/users/rino3analista/)
 * (@rino3analista)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/remove-specific-user-log-events/)
 * Hi, i need to remove from the log an specific user events. Something like if (
   $user_id == 1) don’t include on log. Already seen examples and can’t see my problem
   listed.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/remove-specific-user-log-events/#post-12410048)
 * There is a filter `simple_history/log/do_log` that can be used for this.
 * I’m not 100 % sure what you want to do but there are some snippets here in the
   forum that uses the filter, for example this one:
    [https://wordpress.org/support/topic/hide-plugin-updates/](https://wordpress.org/support/topic/hide-plugin-updates/)
 * You could modify that to check for a user somehow and return false if it’s a 
   user you do not want to log.

Viewing 1 replies (of 1 total)

The topic ‘Remove specific user log events’ 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/)

## Tags

 * [events](https://wordpress.org/support/topic-tag/events/)
 * [log](https://wordpress.org/support/topic-tag/log/)
 * [remove](https://wordpress.org/support/topic-tag/remove/)
 * [user](https://wordpress.org/support/topic-tag/user/)

 * 1 reply
 * 2 participants
 * Last reply from: [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/remove-specific-user-log-events/#post-12410048)
 * Status: resolved