Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/revision.php | apply_filters | 663 | /** * Filters the number of revisions to save for the given post. * * Overrides the value of WP_POST_REVISIONS. * * @since 3.6.0 * * @param int $num Number of revisions to store. * @param WP_Post $post Post object. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $num | Number of revisions to store. |
WP_Post | $post | Post object. |