How to Limit WordPress Post Revisions

Manuel campos -

To limit the number of post revisions in WordPress, you can use the define() function in your wp-config.php file to set the maximum number of revisions that are allowed for each post.

Here’s an example of how you can set the maximum number of revisions to 3:

define('WP_POST_REVISIONS', 3);
JM
About me
I am José Manuel. I am writing about things I know and things that I am learning about WordPress. I hope you find the content of this blog useful.
Linktree

You might also Like...