wordpress max post revision
To limit the maximum number of post revisions in WordPress, follow these steps:
Open your WordPress website's wp-config.php file.
Locate the following line of code:
php define('WP_POST_REVISIONS', true);
Replace the line with the following code to set the maximum number of revisions to a specific value (e.g., 5):
php define('WP_POST_REVISIONS', 5);
Save the changes to the wp-config.php file.
This limits the maximum number of post revisions to the specified value, in this case, 5. Adjust the number according to your preference.