wp_get_post_revisions_url


wp_get_post_revisions_url ( $post = 0 )

Parameters:
  • (int|WP_Post) post Optional. Post ID or WP_Post object. Default is global `$post`.
Returns:
  • (string|null) The URL for editing revisions on the given post, otherwise null.
Defined at:

Description

Returns the url for viewing and potentially restoring revisions of a given post.

Related Functions

wp_get_post_revisions, wp_get_post_revision, _wp_get_post_revision_version, wp_list_post_revisions, wp_delete_post_revision

Top Google Results

User discussions

wpseek mobile