duplicate_comment_id
apply_filters( ‘duplicate_comment_id’, int $dupe_id, ar…
apply_filters( ‘duplicate_comment_id’, int $dupe_id, array $commentdata )
过滤器::过滤创建新注释时找到的重复注释的ID(如果有的话)。
Filter Hook: Filters the ID, if any, of the duplicate comment found when creating a new comment.
过滤器::过滤创建新注释时找到的重复注释的ID(如果有的话)。
Filter Hook: Filters the ID, if any, of the duplicate comment found when creating a new comment.
目录锚点:#说明#参数#源码
说明(Description)
从这个过滤器返回一个空值以允许WP认为重复的注释。
参数(Parameters)
| 参数 | 类型 | 说明 |
|---|---|---|
| $dupe_id | (int) | 标识为重复的注释的ID。 |
| $commentdata | (array) | 正在创建的注释的数据。 |
源码(Source)
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 4.4.0 | wp-includes/comment.php:691 | 1 | 0 |
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。





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