pre_gc_update_comment_count_now

最后更新于:2021-11-27 21:26:11

apply_filters( ‘pre_gc_update_comment_count_now’, int|null $new, int $old, int $post_id )

Filters a post’s comment count before it is updated in the database.

参数

$new

(int|null)
The new comment count. Default null.

$old

(int)
The old comment count.

$post_id

(int)
Post ID.

源文件

文件: gc-includes/comment.php

View on Trac