wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_save_post_revision_check_for_changes › WordPress Filter Hooks
Since3.6.0
Deprecatedn/a
› apply_filters( 'wp_save_post_revision_check_for_changes', true, $latest_revision, $post )
| Parameters: (3) |
|
| Defined at: |
|
| Codex: |
Filters whether the post has changed since the latest 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.Related Functions: wp_save_post_revision_on_insert, wp_save_post_revision, wp_autosave_post_revisioned_meta_fields, _wp_get_post_revision_version, wp_post_revision_meta_keys, wp_restore_post_revision_meta