apply_filters( 'pre_untrash_post', bool|null $untrash, WP_Post $post )

Filters whether a post untrashing should take place.


Parameters Parameters

$untrash

(bool|null) Whether to go forward with untrashing.

$post

(WP_Post) Post object.



Top ↑

Source Source

File: wp-includes/post.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.