How To Change Default “Comment” Button Text In WordPress

Share Now

### Add this code in functions.php file


//CHNAGE COMMENT BUTTON TEXT
function theme_name_change_comment_form_submit_label($arg) {
$arg['label_submit'] = 'Add Your Custom Text Here';
return $arg;
}
add_filter('comment_form_defaults', 'theme_name_change_comment_form_submit_label'); 

Picture of Nahid Mahamud

Nahid Mahamud

Web Developer | Graphic Designer | WordPress & Woo-commerce Expert