WordPress-Simple-History
WordPress-Simple-History copied to clipboard
Temporarily disable logging
Add a way to disable logging during a short while.
This can be useful when:
-
Importing many things using PHP the log can be overwhelmed with data.
-
Making many changes on a site, for example changing hundreds of affiliate links.
Only admins should be allowed to modify this using the GUI. And when the setting is enabled a message should appear in the log + maybe as an "notification" on the log screen.
Enable in the GUI in the settings or with code. Something like Simple_History::disable_logging()
and then Simple_History::enable_logging()
.