A WordPress-centric search engine for devs and theme authors



wp_delete_post_revision ›

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

Fires once a post revision has been deleted.





Source

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