wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



pre_untrash_post › WordPress Filter Hooks

Seit5.6.0
Veraltetn/v
apply_filters( 'pre_untrash_post', null, $post, $previous_status )
Parameter: (3)
  • () untrash Whether to go forward with untrashing.
    Erforderlich: Ja
  • () post Post object.
    Erforderlich: Ja
  • () previous_status The status of the post at the point where it was trashed.
    Erforderlich: Ja
Definiert in:
Codex:

Filters whether a post untrashing should take place.





Quellcode

$check = apply_filters( 'pre_untrash_post', null, $post, $previous_status );