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



trashed_post › WordPress Action Hooks

Da6.3.0
Deprecaton/a
› do_action( 'trashed_post', $post_id, $previous_status )
Parametri: (2)
  • () post_id Post ID.
    Richiesto: Sì
  • () previous_status The status of the post at the point where it was trashed.
    Richiesto: Sì
Definito a:
Codex:

Fires after a post is sent to the Trash.





Sorgenti

do_action( 'trashed_post', $post_id, $previous_status );