Fires after a post is sent to the Trash.
$post_idint
$previous_statusstring
do_action( 'trashed_post', $post_id, $previous_status );
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/trashed_post