wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_save_post_revision_check_for_changes › Les Filtres WordPress
Depuis3.6.0
Dépréciéen/a
› apply_filters( 'wp_save_post_revision_check_for_changes', true, $latest_revision, $post )
| Paramètres: (3) |
|
| Défini(e) dans: |
|
| 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.Fonctions en relation: 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