WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about spammed_comment

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/comment.php do_action 1658 /**
* Fires immediately after a comment is marked as Spam.
*
* @since 2.9.0
* @since 4.9.0 Added the `$comment` parameter.
*
* @param int $comment_id The comment ID.
* @param WP_Comment $comment The comment marked as spam.
*/

Hook Parameters

Parameter Type Name Description
int $comment_id The comment ID.
WP_Comment $comment The comment marked as spam.