Prevent editing of posts after 3 days
-
I am a scientist trying to set up a WordPress multisite to use as my group’s laboratory notebooks. I would like to make people’s entries editable by the author for a limited period of time so that they can regularly save them while they are writing the posts to begin with, but make each post permanent and unchangeable after some specified time period, like 3 days (remember how you always have to write in ink, not erasable pencil, in a lab notebook?)
I could do this by changing the post author to admin after a specified time period, but 1) I’m not sure how to schedule this and 2) I want to retain the original information about who authored the post.
Does anyone have ideas about how to do this? Could custom post types or some gymnastics with user roles help? Thanks in advance for any input!
- The topic ‘Prevent editing of posts after 3 days’ is closed to new replies.