![]() ![]() define( 'WPPOSTREVISIONS', 10 ) Don't forget to replace 10 with the number of revisions you want to keep for each post. ![]() Alternately, the limit can be set in wp-config. To save a maximum of five revisions, use: define( WPPOSTREVISIONS, 5 ). The better option is to reduce this limit to more. The maximum number of saved revisions can be configured in the wp-config.php file. The wprevisionstokeep filter allows developers to easily alter how many revisions are kept for a given post. By default, WordPress will save an unlimited number of revisions, however this is generally not needed. Revision Options Limit the number of posts revisions that WordPress stores in the database.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |