A WordPress-centric search engine for devs and theme authors



trashed_post_comments ›

Since2.9.0
Deprecatedn/a
do_action( 'trashed_post_comments', $post_id, $statuses )
Parameters: (2)
  • (int) $post_id Post ID.
    Required: Yes
  • (array) $statuses Array of comment statuses.
    Required: Yes
Defined at:
Codex:

Fires after comments are sent to the trash.





Source

do_action( 'trashed_post_comments', $post_id, $statuses );