Uma área de pesquisa sobre o WordPress para devs e autores do tema



trashed_comment ›

Desde4.9.0
Obsoleton/a
do_action( 'trashed_comment', $comment->comment_ID, $comment )
Parâmetros: (2)
  • (int) $comment_id The comment ID.
    Required: Yes
  • (WP_Comment) $comment The trashed comment.
    Required: Yes
Definido em:
Codex:

Fires immediately after a comment is sent to Trash.





Fonte

do_action( 'trashed_comment', $comment->comment_ID, $comment );