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)
  • (int) $comment_id The comment ID.
    Richiesto:
  • (WP_Comment) $comment The comment to be marked as spam.
    Richiesto:
Definito a:
Codex:

Fires immediately before a comment is marked as Spam.





Sorgenti

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