wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_revisions_to_keep › WordPress Filter Hooks

Da3.6.0
Deprecaton/a
apply_filters( 'wp_revisions_to_keep', $num, $post )
Parametri: (2)
  • (int) $num Number of revisions to store.
    Richiesto:
  • (WP_Post) $post Post object.
    Richiesto:
Definito a:
Codex:

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

Overrides the value of WP_POST_REVISIONS.





Sorgenti

$num = apply_filters( 'wp_revisions_to_keep', $num, $post );