HTTP/2 200
server: nginx
date: Wed, 15 Oct 2025 17:49:04 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
vary: accept, content-type
link:
; rel="https://api.w.org/"
link:
; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
x-frame-options: SAMEORIGIN
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 1
wp_is_post_revision() – Function | Developer.WordPress.org
wp_is_post_revision( int|WP_Post $post ): int|false
Determines if the specified post is a revision.
$post
int|WP_PostrequiredPost ID or post object.
int|false ID of revision’s parent on success, false if not a revision.
Version | Description |
---|
2.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.