wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_insert_comment › Les Actions WordPress

Depuis2.8.0
Dépréciéen/a
do_action( 'wp_insert_comment', $id, $comment )
Paramètres: (2)
  • (int) $id The comment ID.
    Requis: Oui
  • (WP_Comment) $comment Comment object.
    Requis: Oui
Défini(e) dans:
Codex:

Fires immediately after a comment is inserted into the database.





Source

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