comment_id_fields

过滤钩子
apply_filters( 'comment_id_fields', $result, $post_id, $reply_to_id )
参数
  • (string) $result The HTML-formatted hidden ID field comment elements.
    Required:
  • (int) $post_id The post ID.
    Required:
  • (int) $reply_to_id The ID of the comment being replied to.
    Required:
定义位置
相关勾子
comment_form_fieldscomments_link_feedcomment_form_default_fieldscomment_form_after_fieldscomment_form_submit_field
相关方法
comment_id_fieldsget_comment_id_fieldscomments_link_feedcomment_idis_comment_feedcomment_time
引入
3.0.0
弃用
-

comment_id_fields: 这个过滤钩子允许开发者在评论表单中添加额外的隐藏字段。

过滤返回的评论ID字段。

return apply_filters( 'comment_id_fields', $result, $post_id, $reply_to_id );

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-14 16:36:35

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: