deleted_comment
do_action( ‘deleted_comment’, int $comment_id, WP_Comme…
do_action( ‘deleted_comment’, int $comment_id, WP_Comment $comment )
动作钩子::从数据库中删除注释后立即激发。
Action Hook: Fires immediately after a comment is deleted from the database.
动作钩子::从数据库中删除注释后立即激发。
Action Hook: Fires immediately after a comment is deleted from the database.
目录锚点:#参数#源码
参数(Parameters)
| 参数 | 类型 | 说明 |
|---|---|---|
| $comment_id | (int) | 评论ID。 |
| $comment | (WP_Comment) | 删除的评论。 |
源码(Source)
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 4.9.0 | wp-includes/comment.php:1429 | 1 | 0 |
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。

还没有任何评论,赶紧来占个楼吧!