A WordPress-centric search engine for devs and theme authors



trash_post_comments ›

Since2.9.0
Deprecatedn/a
do_action( 'trash_post_comments', $post_id )
Parameters:
  • (int) $post_id Post ID.
    Required: Yes
Defined at:
Codex:

Fires before comments are sent to the trash.





Source

do_action( 'trash_post_comments', $post_id );