1. 首页
  2. WordPress 函数手册

get_comment_id_fields()

get_comment_id_fields( int $id )

检索用于答复注释的隐藏输入HTML。
Retrieves hidden input HTML for replying to comments.

目录锚点:#参数#返回#源码


参数(Parameters)

参数 类型 必填 说明
$id (int) 可选 Post ID。默认当前Post ID。

返回(Return)

(string)用于回复评论的隐藏输入HTML


源码(Source)


更新版本 源码位置 使用 被使用
3.0.0 wp-includes/comment-template.php:1902 2 3

get_comment_id_fields() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_comment_id_fields/