WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/wp revisions enabled

Contents

Description

Determine if revisions are enabled for a given post.

Parameters

$post
(object) (required) The Post object.
Default: None

Return

(boolean) 
True if number of revisions to keep isn't zero, false otherwise.

Usage

 <?php  ?> 

Example

Description text

Example code

Change Log

Source File

wp_revisions_enabled() is located in wp-includes/revision.php.

Related

Function ref links

This article is marked as in need of editing. You can help Codex by editing it.
This page is marked as incomplete. You can help Codex by expanding it.