wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



spammed_comment › WordPress Action Hooks

Seit4.9.0
Veraltetn/v
do_action( 'spammed_comment', $comment->comment_ID, $comment )
Parameter: (2)
  • (int) $comment_id The comment ID.
    Erforderlich: Ja
  • (WP_Comment) $comment The comment marked as spam.
    Erforderlich: Ja
Definiert in:
Codex:

Fires immediately after a comment is marked as Spam.





Quellcode

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