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)
  • () num Number of revisions to store.
    Richiesto: Sì
  • () post Post object.
    Richiesto: Sì
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 );