Created
June 14, 2013 20:16
-
-
Save wpspeak/5784926 to your computer and use it in GitHub Desktop.
Change submit button text in comment form
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Change submit button text in comment form | |
function afn_change_submit_button_text( $defaults ) { | |
$defaults['label_submit'] = 'Submit Comment'; | |
return $defaults; | |
} | |
add_filter( 'comment_form_defaults', 'afn_change_submit_button_text' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment