Wordpress 钩子:delete_comment
文章目录
在从数据库中删除注释之前立即触发。
原型
do_action( 'delete_comment', int $comment_id, WP_Comment $comment )
参数
$comment_id
(int)
评论ID。
$comment
(WP_Comment)
要删除的评论。
源文件
路径:wp-includes/comment.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/delete_comment/
文章作者 iBllex
上次更新 2019-02-14