wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_save_post_revision_revisions_before_deletion › WordPress Filter Hooks

Since6.2.0
Deprecatedn/a
Parameters: (2)
  • (WP_Post[]) $revisions Array of revisions, or an empty array if none.
    Required: Yes
  • (int) $post_id The ID of the post to save as a revision.
    Required: Yes
Defined at:
Codex:

Filters the revisions to be considered for deletion.





Source

$revisions = apply_filters(