apply_filters( 'wp_revisions_to_keep', int $num, WP_Post $post )

Filters the number of revisions to save for the given post.

Description Description

Overrides the value of WP_POST_REVISIONS.

Parameters Parameters


(int) Number of revisions to store.


(WP_Post) Post object.

Top ↑

Source Source

File: wp-includes/revision.php

View on Trac

Top ↑

Changelog Changelog

Version Description
3.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.