wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_save_post_revision_post_has_changed › WordPress过滤钩子
Since4.1.0
已弃用n/a
› apply_filters( 'wp_save_post_revision_post_has_changed', $post_has_changed, $latest_revision, $post )
参数: (3) |
|
定义在: |
|
文档: |
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