wp_save_post_revision_check_for_changes – filter
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.
- ( 3.6.0 ) . .
- ( bool ) $check_for_changes Whether to check for changes before saving a new revision. Default true. . . .
- ( WP_Post ) The last revision post object. . . .
- ( WP_Post ) The post object. . . .