WordPress给评论提交按钮添加class
function so_comment_button() {
echo '<input name="submit" class="button" type="submit" value="' . __( 'Post Comment', 'textdomain' ) . '" />';
}
add_action( 'comment_form', 'so_comment_button' );
function so_comment_button() {
echo '<input name="submit" class="button" type="submit" value="' . __( 'Post Comment', 'textdomain' ) . '" />';
}
add_action( 'comment_form', 'so_comment_button' );