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



add_trashed_suffix_to_trashed_posts › WordPress Filter Hooks

Da5.4.0
Deprecaton/a
› apply_filters( 'add_trashed_suffix_to_trashed_posts', true, $post_name, $post_id )
Parametri: (3)
  • () add_trashed_suffix Whether to attempt to add the suffix.
    Richiesto: Sì
  • () post_name The name of the post being updated.
    Richiesto: Sì
  • () post_id Post ID.
    Richiesto: Sì
Definito a:
Codex:

Filters whether or not to add a `__trashed` suffix to the name of trashed posts that match the name of the updated post.





Sorgenti

$add_trashed_suffix = apply_filters( 'add_trashed_suffix_to_trashed_posts', true, $post_name, $post_id );