do_action( ‘trash_post_comments’, int $post_id )

In this article

Fires before comments are sent to the Trash.

Parameters

$post_idint
Post ID.

Source

do_action( 'trash_post_comments', $post_id );

Changelog

VersionDescription
2.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.