wpseek.com
A WordPress-centric search engine for devs and theme authors



trashed_post_comments › WordPress Action Hooks

Since2.9.0
Deprecatedn/a
do_action( 'trashed_post_comments', $post_id, $statuses )
Parameters: (2)
  • () post_id Post ID.
    Required: Yes
  • () 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 );