untrash_post – action

Fires before a post is restored from the Trash. 

Parameters

.
( 2.9.0 ) . .
The
( 5.6.0 ) `$previous_status` parameter was added. . . .
( int ) $post_id Post ID. . . .
$previous_status
( string ) The status of the post at the point where it was trashed. . . .
API Letters: ,

Implementers