Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wp revisions config

// on wp-config.php -->
define( 'WP_POST_REVISIONS', 5 ); // Save max 5 revisions
define('AUTOSAVE_INTERVAL', 120 ); // Save revision automatically after 2 minutes (default 60 sec.)
 
PREVIOUS NEXT
Tagged: #wp #revisions #config
ADD COMMENT
Topic
Name
4+5 =