|wp-includes/revision.php: wp_save_post_revision()|| |
Creates a revision for the current version of a post.
Filters whether a post has changed.
By default a revision is saved only if one of the revisioned fields has changed. This filter allows for additional checks to determine if there were changes.
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.