Disable Post revision in WordPress

Post revision is a nice tools if you have multiple writer who will contribute from the same article, but how if you have more than 5,000 articles and each time your writter will edit and draft it, you might have 50,000 records from your wp_posts tables where would slow down the database loading time.

To done this, simply add the code as below from wp_config.php file,

define('WP_POST_REVISIONS', false);