wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_save_post_revision_post_has_changed › WordPress Filter Hooks
Since4.1.0
Deprecatedn/a
› apply_filters( 'wp_save_post_revision_post_has_changed', $post_has_changed, $latest_revision, $post )
Parameters: (3) |
|
Defined at: |
|
Codex: |
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.
Related Functions: wp_save_post_revision_on_insert, wp_save_post_revision, wp_post_revision_title_expanded, wp_cache_set_sites_last_changed, wp_cache_set_posts_last_changed, wp_cache_set_comments_last_changed