wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



trash_comment › Działania WordPress Hooks

Od4.9.0
Przestarzałyn/a
do_action( 'trash_comment', $comment->comment_ID, $comment )
Parametry: (2)
  • (string) $comment_id The comment ID as a numeric string.
    Wymagane: Tak
  • (WP_Comment) $comment The comment to be trashed.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Fires immediately before a comment is sent to the Trash.





Źródło

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