ControlledChaos
5/7/2015 - 8:31 AM

Limit Number of Post Revisions

Limit Number of Post Revisions

<?php

function ccd_limit_post_revisions() {

	define( 'WP_POST_REVISIONS', 3);
	define( 'AUTOSAVE_INTERVAL', 180 );
}
add_action( 'init', 'ccd_limit_post_revisions' );

?>

Limit Number of Post Revisions

WordPress Snippet