wpseek.com
A WordPress-centric search engine for devs and theme authors



untrashed_post › WordPress Action Hooks

Since5.6.0
Deprecatedn/a
do_action( 'untrashed_post', $post_id, $previous_status )
Parameters: (2)
  • () post_id Post ID.
    Required: Yes
  • () previous_status The status of the post at the point where it was trashed.
    Required: Yes
Defined at:
Codex:

Fires after a post is restored from the Trash.





Source

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