ControlledChaos
5/7/2015 - 9:18 AM

Disable or Limit Post Revisions in wp-config

Disable or Limit Post Revisions in wp-config

<?php

define( 'WP_POST_REVISIONS', false );  
// or  
define( 'WP_POST_REVISIONS', 5 );

?>

Disable or Limit Post Revisions in wp-config

WordPress Snippet