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



untrash_post › WordPress Action Hooks

Seit5.6.0
Veraltetn/v
do_action( 'untrash_post', $post_id, $previous_status )
Parameter: (2)
  • () post_id Post ID.
    Erforderlich: Ja
  • () previous_status The status of the post at the point where it was trashed.
    Erforderlich: Ja
Definiert in:
Codex:

Fires before a post is restored from the Trash.





Quellcode

do_action( 'untrash_post', $post_id, $previous_status );