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



delete_comment › Les Actions WordPress

Depuis4.9.0
Dépréciéen/a
› do_action( 'delete_comment', $comment->comment_ID, $comment )
Paramètres: (2)
  • () comment_id The comment ID as a numeric string.
    Requis: Oui
  • () comment The comment to be deleted.
    Requis: Oui
Défini(e) dans:
Codex:

Fires immediately before a comment is deleted from the database.





Source

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