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



untrashed_post › WordPress Action Hooks

Da5.6.0
Deprecaton/a
› do_action( 'untrashed_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 restored from the Trash.





Sorgenti

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