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