comment_form_submit_button

过滤钩子


apply_filters( 'comment_form_submit_button', $submit_button, $args )
参数
  • (string)
    $submit_button
    HTML markup for the submit button.
    Required:
  • (array)
    $args
    Arguments passed to comment_form().
    Required:
定义位置
  • wp-includes/comment-template.php
    , line 2696
引入
4.2.0
弃用

Filters the submit button for the comment form to display.

$submit_button = apply_filters( 'comment_form_submit_button', $submit_button, $args );