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