Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base functionality of the modified date control plugin #4

Merged
merged 18 commits into from
Aug 7, 2024
Prev Previous commit
Next Next commit
Clarify the functionality
srtfisher committed Aug 2, 2024
commit 16eb58c32612db0e3d496a83d72debeb26c6181e
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -38,6 +38,12 @@ date to be set to the current date and time upon update. Out of the box, the
plugin will continue to allow updates to the modified date unless disabled on a
per-post basis.

If you check `Allow Updates to Modified`, the modified date will be set to the
current date and time when the post is updated. You will be unable to set your
own modified date. If you uncheck the box, you will be able to set your own
modified date. Saving the post will not cause the modified date to be updated,
either, unless you manually updated it.

### Filters

#### `wp_modified_date_control_default_allow_updates`