|wp-includes/revision.php: wp_save_post_revision()|| |
Creates a revision for the current version of a post.
Filters whether the post has changed since the last revision.
By default a revision is saved only if one of the revisioned fields has changed. This filter can override that so a revision is saved even if nothing has changed.
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.