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



wp_insert_comment › WordPress Action Hooks

Da2.8.0
Deprecaton/a
› do_action( 'wp_insert_comment', $id, $comment )
Parametri: (2)
  • () id The comment ID.
    Richiesto: Sì
  • () comment Comment object.
    Richiesto: Sì
Definito a:
Codex:

Fires immediately after a comment is inserted into the database.





Sorgenti

do_action( 'wp_insert_comment', $id, $comment );