define( 'WP_POST_REVISIONS', 3 );
Post revisions are very useful, but they also clutter your database a lot. In order to save some space, you can consider limiting the amount of post revisions automatically saved by WordPress.
This code has to be pasted in your wp-config.php file, located at the root of your WordPress install.
This code has to be pasted in your wp-config.php file, located at the root of your WordPress install.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.