How can i disable post revision? Home › Forums › Tutorials and Hints from Users › How can i disable post revision? This topic contains 1 reply, has 2 voices, and was last updated by scrambler 1 week, 3 days ago. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts December 6, 2017 at 11:32 UTC - Views: 7 #52388 alexanderbiscajinParticipant I have use this code exactly same from the tutorial i have seen https://www.wpblog.com/disable-limit-wordpress-post-revisions/ but still having some issues as it’s not working properly or might be i am doing something wrong. Can anyone help me to disable the post revisions ? define(‘AUTOSAVE_INTERVAL’, 300); define(‘WP_POST_REVISIONS’, false); define(‘WP_DEBUG”, false); If I put this code define(‘WP_POST_REVISIONS’, false); It will stop further revisions,even page revisions? or the autosave occupies space in database? Can anyone guide me Please ? December 6, 2017 at 17:04 UTC - Views: 4 #52393 scramblerModerator This really has nothing to do with the theme and should be asked in the WordPress forum. From the article, adding the line define(‘WP_POST_REVISIONS’, false); Will completely disable post revision, so will just have whatever your last edit is. If you want a bit of safety, you can specify the number you want to keep, like if you want to keep the last 2 revision, use define(‘WP_POST_REVISIONS’, 2); Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic.