wp limit post revisions 1

wp limit post revisions

define('WP_POST_REVISIONS', 8);

Here is what the above code is Doing:
1. It’s setting the database name, username, password, and host.
2. It’s telling WordPress to save revisions of your posts and pages.
3. It’s telling WordPress the maximum number of revisions to save (e.g. the number 8).

Similar Posts