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



spammed_comment › WordPress Action Hooks

Since4.9.0
Deprecatedn/a
do_action( 'spammed_comment', $comment->comment_ID, $comment )
Parameters: (2)
  • (int) $comment_id The comment ID.
    Required: Yes
  • (WP_Comment) $comment The comment marked as spam.
    Required: Yes
Defined at:
Codex:

Fires immediately after a comment is marked as Spam.





Source

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