wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



trashed_post › Działania WordPress Hooks

Od6.3.0
Przestarzałyn/a
› do_action( 'trashed_post', $post_id, $previous_status )
Parametry: (2)
  • () post_id Post ID.
    Wymagane: Tak
  • () previous_status The status of the post at the point where it was trashed.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Fires after a post is sent to the Trash.





Źródło

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