wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



untrash_post › Les Actions WordPress

Depuis5.6.0
Dépréciéen/a
› do_action( 'untrash_post', $post_id, $previous_status )
Paramètres: (2)
  • () post_id Post ID.
    Requis: Oui
  • () previous_status The status of the post at the point where it was trashed.
    Requis: Oui
Défini(e) dans:
Codex:

Fires before a post is restored from the Trash.





Source

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