How to change comment submit button text in WordPress

How-to-change-comment-submit-button-text-in-in-WordPress

This code is used to change comment submit button text in WordPress.

<?php

function wpsites_change_comment_form_submit_label($arg) {
$arg['label_submit'] = 'Button Text';
return $arg;
}
add_filter('comment_form_defaults', 'wpsites_change_comment_form_submit_label');

?> 
We Well organized and easy-to-understand Interactive tutorials With lots of examples of how to use Tutorials WordPress, PHP, Bootstrap, Bootstrap 4, HTML, CSS, AJAX, jQuery, Woocommerce, Post, Database, Javascript, Theme, Responsive, Templates.

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact us

Fill in the form below or give us a call and we'll contact you. We endeavour to answer all enquiries within 24 hours on business days.