clean_comment_cache
do_action( ‘clean_comment_cache’, int $id )
动作钩子::从对象缓存中移除注释后立即激发。
Action Hook: Fires immediately after a comment has been removed from the object cache.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$id | (int) | 注释ID。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.5.0 | wp-includes/comment.php:3036 | 1 | 0 |
clean_comment_cache 为WP2原创文章,链接:https://www.wp2.cn/hook/clean_comment_cache/