Codex tools: Log in
Contents |
Deletes a revision.
Deletes the row from the posts table corresponding to the specified revision.
<?php wp_delete_post_revision( $revision_id ); ?>
Since: 2.6
wp_delete_post_revision() is located in wp-includes/post.php