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: - Introduced in WordPress: 5.9.0
- Deprecated in WordPress: —
Description
Returns the url for viewing and potentially restoring revisions of a given post.