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



wp_delete_post_revision › WordPress Action Hooks

Since2.6.0
Deprecatedn/a
do_action( 'wp_delete_post_revision', $revision->ID, $revision )
Parameters: (2)
  • (int) $revision_id Post revision ID.
    Required: Yes
  • (WP_Post) $revision Post revision object.
    Required: Yes
Defined at:
Codex:

Fires once a post revision has been deleted.





Source

do_action( 'wp_delete_post_revision', $revision->ID, $revision );