BLOG

“I still suggest you call
this page 42Lab.
Works for both of us!”
- Joey

WordPress 101: Tips, Tricks & Hacks

WordPress as a Content Management System comes loaded with incredible amounts of functionality and customizability. WordPress makes this happen by providing its developers and site owners with features that empower their website design and development process.

How To disable post revisions?

One of the more powerful and useful features of WordPress is – Post Revisions. Plenty of WP users are either unable to or don’t want to use this feature due to limits on their database storage space. The following tip will help you save tons of storage on revisions.

Add the following code to the wp-config.php file to disable post revisions:

define('AUTOSAVE_INTERVAL', 120 ); // seconds
define('WP_POST_REVISIONS', false );

This code will stop all future post revisions, and it expands the auto-save interval-period from 60 to 120 seconds. This implies that your post will be auto-saving at regular intervals of 120 seconds.

42 works

Exploring the Future of Apps with Apple

Read Blog

42Works prioritizes your privacy. Learn how we collect, use, and protect your data.

Read Policy
42 works
Get 42Works Blog updates in your Inbox!

    Virginia United States 3.92.1.156 https://42works.net/disabling-post-revisions-in-wordpress/