A WordPress-centric search engine for devs and theme authors



untrash_post ›

Since2.9.0
Deprecatedn/a
do_action( 'untrash_post', $post_id )
Parameters:
  • (int) $post_id Post ID.
    Required: Yes
Defined at:
Codex:

Fires before a post is restored from the trash.





Source

do_action( 'untrash_post', $post_id );