Revision of articles


Tue Jul 05 2022 17:39:12 GMT+0000 (UTC)

Saved by @satinbest #php

define('WP_POST_REVISIONS', 3);


define('WP_POST_REVISIONS', false);

By default, this option is true. It records all revisions, of each article and page. In the long run, this can greatly pollute the database. It is therefore possible to change this option. There are two other solutions. Either just put a number for the number of revisions you want (for example 3, 5 or 10), or put the option to false (for no revision).