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



trashed_post › WordPress Action Hooks

Seit6.3.0
Veraltetn/v
do_action( 'trashed_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 after a post is sent to the Trash.





Quellcode

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