HTTP/2 200
server: nginx
date: Sat, 19 Jul 2025 18:42:16 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
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_revisions_enabled() – Function | Developer.WordPress.org
wp_revisions_enabled( WP_Post $post ): bool
Determines whether revisions are enabled for a given post.
$post
WP_PostrequiredThe post object.
bool True if number of revisions to keep isn’t zero, false otherwise.
Version | Description |
---|
3.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.