Filters whether a post untrashing should take place.
Parameters
$untrash
bool|null- Whether to go forward with untrashing.
$post
WP_Post- Post object.
$previous_status
string- The status of the post at the point where it was trashed.
Source
$check = apply_filters( 'pre_untrash_post', null, $post, $previous_status );
User Contributed Notes
You must log in before being able to contribute a note or feedback.