1. 首页
  2. WordPress钩子手册

comment_form_submit_field

apply_filters( ‘comment_form_submit_field’, string $submit_field, array $args )

过滤钩子:过滤评论表单要显示的提交字段。
Filter Hook: Filters the submit field for the comment form to display.

目录锚点:#说明#参数#源码


说明(Description)

submit字段包括submit按钮、comment表单的隐藏字段和任何包装标记。


参数(Parameters)

参数 类型 说明
$submit_field (string) 提交字段的HTML标记。
$args (array) 传递给comment_form()的参数。

源码(Source)


更新版本 源码位置 使用 被使用
4.2.0 wp-includes/comment-template.php:2649 1 0

comment_form_submit_field 为WP2原创文章,链接:https://www.wp2.cn/hook/comment_form_submit_field/