Used By
Used By | Description |
---|---|
wp-includes/revision.php: wp_revisions_to_keep() | Determine how many revisions to retain for a given post. |
Filters the number of revisions to save for the given post.
Overrides the value of WP_POST_REVISIONS.
(int) Number of revisions to store.
(WP_Post) Post object.
File: wp-includes/revision.php
Version | Description |
---|---|
3.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_revisions_to_keep