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



delete_comment › WordPress Action Hooks

Da4.9.0
Deprecaton/a
› do_action( 'delete_comment', $comment->comment_ID, $comment )
Parametri: (2)
  • () comment_id The comment ID as a numeric string.
    Richiesto: Sì
  • () comment The comment to be deleted.
    Richiesto: Sì
Definito a:
Codex:

Fires immediately before a comment is deleted from the database.





Sorgenti

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