• Web Development

    Change “Leave Comment” button text WordPress

    in functions.php, add this : function wpsites_change_comment_form_submit_label($arg) { $arg[‘label_submit’] = ‘Custom Comment Form Submit Button Text’; return $arg; } add_filter(‘comment_form_defaults’, ‘wpsites_change_comment_form_submit_label’); Initially I wanted to find and change the actual value, but I could not find below code in  comment.php or post.php files. So I used above code, it worked. <input class=”button” name=”submit” type=”submit” id=”submit” tabindex=”5″ value=”Submit Comment” /> More information: https://wpquestions.com/Change_comment_button_text/9266