wp_delete_post_revision


wp_delete_post_revision ( $revision )

Parameters:
  • (int|WP_Post) revision Revision ID or revision object.
Returns:
  • (WP_Post|false|null) Null or false if error, deleted post object if success.
Defined at:

Description

Deletes a revision.Deletes the row from the posts table corresponding to the specified revision.

Related Functions

wp_get_post_revision, wp_get_post_revisions, wp_restore_post_revision, wp_list_post_revisions, _wp_put_post_revision

Top Google Results

User discussions

wpseek mobile