do_action ( ‘comment_on_trash’, int $comment_post_id )

Fires when a comment is attempted on a trashed post.

Parameters

$comment_post_id int
Post ID.

Source

do_action( 'comment_on_trash', $comment_post_id );

Changuelog

Versionen Description
2.9.0 Introduced.

User Contributed Notes

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