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)
  • (int) $id The comment ID.
    Richiesto:
  • (WP_Comment) $comment Comment object.
    Richiesto:
Definito a:
Codex:

Fires immediately after a comment is inserted into the database.





Sorgenti

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