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

Why do Market Leaders rely on Social Listening?

Read Blog

42Works announces COVID-19 relief measures for all its team members

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

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