wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



spammed_comment › Les Actions WordPress

Depuis4.9.0
Dépréciéen/a
do_action( 'spammed_comment', $comment->comment_ID, $comment )
Paramètres: (2)
  • (int) $comment_id The comment ID.
    Requis: Oui
  • (WP_Comment) $comment The comment marked as spam.
    Requis: Oui
Défini(e) dans:
Codex:

Fires immediately after a comment is marked as Spam.





Source

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