WordPress at a glance
filter is not described

pre_untrash_post filter-hook . WP 4.9.0

Filters whether a post untrashing should take place.

Usage

add_filter( 'pre_untrash_post', 'filter_function_name_9810', 10, 2 );
function filter_function_name_9810( $untrash, $post ){
	// filter...

	return $untrash;
}
$untrash(true/false)
Whether to go forward with untrashing.
$post(WP_Post)
Post object.

Changelog

Since 4.9.0 Introduced.

Where the hook is called

wp_untrash_post()
pre_untrash_post
wp-includes/post.php 3033
$check = apply_filters( 'pre_untrash_post', null, $post );

Where the hook is used (in WP core)

Usage not found!