Because of the stateless nature of webpages, you can’t do this without a high margin of error.
You can install a plugin to log last visits for logged in users, but that will not tell you if they’re editing posts or if they loaded a page then went to lunch or shut down their computer.
Instead, use maintenance mode and arrange beforehand when to update the site. Anybody who wants to make edits or modifications at those times knows theres a chance it will be lost and they do so at their own risk.
Related Posts:
- Admin user can’t update WP
- Why are there updates for obsolete WordPress versions?
- How should I structure a WP website project using git and updating from WP dashboard?
- WP-CLI not recognizing commercial plugin updates
- After updating WP keeps nagging about a newer version. Why?
- How can I manually upgrade translations?
- Automating the Backup Process (30+ websites)
- Update to older wordpress version from admin?
- Prevent/Disable Automatic Update Check
- Git Deploying – Disabling plugin/theme installation/update on remote?
- Update WordPress automatically on its own
- How long does it take for theme / plugin automatic updates to initiate?
- Can’t preview drafts after upgrade to 4.0!
- Find out if there is a available core update?
- Why won’t my site automatically apply updates after upgrade to 3.7?
- WordPress with composer, how to handle updates?
- Changing plugin slug with update
- Necessary user, group and permissions for core updates
- Reverting from a newer version of WordPress to an older version
- How to automatically update on localhost after editing files
- After updating wordpress 4.5 my homepage and images not displaying
- How to notify my plugin users about new version releases?
- Show last time WordPress site was updated / modified
- Plugin for automated upgrade of WordPress core and it’s plugins?
- Why are the automatic updates to WordPress behind the version my site is on?
- update Semiologic?
- Upgrading themes never works
- How can the temporary update directory be changed?
- Unable to update wordpress
- WordPress not showing upgrade to latest version
- Prevent wordpress from updating language files
- Possible to stay on Version 4?
- wordpress update will overwrite files changes?
- Worpdress update another update is currently in progress
- Updating beyond WordPress 4.2.1 yields “allowed memory size exhausted”
- Upgrading from 3.5.2 to 3.9.1
- Where can I find the corrent version of my wordpress blog?
- WP 5 upgrade and ALTER TABLE wp_post … post_password
- 4.9.5 broke site behind load balancer, forwards to localhost [closed]
- WP-CLI command to update all plugins and core fails when executed from cron
- Jetpack Upgrade fails with WP CLI [closed]
- WordPress 3.8.1 update error
- Updating WordPress core with zero downtime – I mean zero
- What file(s) in core control automatic background updates?
- How can I quickly get a system showing the “Uncaught Error: Class ‘WP_Site_Health’ not found in” up and running again?
- Can’t upgrade WP 5.6 to 5.6.1: version-current.php is missing
- WordPress and plugins can’t update (“inconsistent file permissions” error)?
- Update WordPress – Another update is currently in progress
- Errors when updating plugin through the WordPress plugin repository
- Is there a way to schedule automatic WordPress core updates?
- How does one dismiss the ‘upgrade notice’ when managing upgrades with SVN?
- WordPress updates being blocked by proxy
- Which directory should be writable to update wordpress?
- Increased memory usage after updating to wordpress 4.3
- How much maintenance is required to run a WordPress server?
- Is it safe to update from 2.6.2 to the newest version?
- Can anything go wrong if I let users change their usernames?
- Where in the backend can I get information about the current WordPress version I am using?
- Where can I see all changes for a new WordPress version?
- A shorter way to automatically update WordPress?
- check if WordPress website has updates remotely
- Updating WP 3.9.5 without destroying my website
- After adding mo localization files to WP 3.8.1 install backend shows new update to 3.8.1
- WordPress updates
- is wpdb->replace() already sanitized?
- Cannot upgrade anything in vps install (migrated wp)
- Where does wordpress gets its core and plugin updates
- I tried updating my Live wordpress site to the latest wordpress version (v4.7) and i encountered some issues
- What do WordPress auto updates include?
- How to keep cache files after plugin update?
- Can’t update WordPress 4.0
- Theme my login and update user meta
- why does installer/update screens not progress on some webhosts?
- Avoid removal of a file on plugin update
- How to modify last posts block without losing modification on next WP update
- Disabling forced FTP credentials for any updates
- Parent Theme update was not showing on the update page
- mystery checkbox in comments area
- How to get the date of last updated post or page and put it in the footer
- Updates page not showing formating
- After WooCommerce-Update fucntion not working anymore
- Plugins download & install fine, wordpress update fails
- How to allow theme update downloads to WordPress installs only?
- FS method direct on NGINX
- WordPress Auto Updates
- Core update of 4.2.3 changes all link to https [duplicate]
- Error on update translation
- Not able to Update wordpress to 4.0
- update post meta front end
- Custom message when wordpress updates are available
- WordPress Updates 3.5.2 to 3.8 Any Problem? [duplicate]
- How can I upgrade wordpress with manual?
- disk was full but wordpress still having issues
- Avoid loosing changes to theme
- Manually updating WordPress files
- Hook or function to check if performing a WP Core update?
- How to update WordPress plugins properly using git?
- add_editor_style not working after upgrade to WP v 6.2
- edit wordpress website automatically from a program
- WordPress is updating only patch version and not minor