wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



spam_comment › WordPress Action Hooks

Da4.9.0
Deprecaton/a
› do_action( 'spam_comment', $comment->comment_ID, $comment )
Parametri: (2)
  • () comment_id The comment ID.
    Richiesto: Sì
  • () comment The comment to be marked as spam.
    Richiesto: Sì
Definito a:
Codex:

Fires immediately before a comment is marked as Spam.





Sorgenti

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