comment_form_submit_field

过滤钩子
apply_filters( 'comment_form_submit_field', $submit_field, $args )
参数
  • (string) $submit_field HTML markup for the submit field.
    Required:
  • (array) $args Arguments passed to comment_form().
    Required:
定义位置
相关勾子
comment_form_fieldscomment_form_default_fieldscomment_form_after_fieldscomment_form_submit_buttoncomment_form_before_fields
相关方法
comment_form_titlecomment_id_fieldscomment_footer_dieget_comment_id_fieldscomment_formget_post_field
引入
4.2.0
弃用
-

comment_form_submit_field: 这个过滤钩子允许开发者在评论表单中添加自定义字段。

过滤提交字段,以便显示评论表单。

提交字段包括提交按钮、评论表单的隐藏字段,以及任何包装标记。

echo apply_filters( 'comment_form_submit_field', $submit_field, $args );

常见问题

FAQs
查看更多 >
闪电侠

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

2025-12-14 10:36:29

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

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

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