Created
June 10, 2014 16:19
-
-
Save kraftbj/5e55da0a04435765591d to your computer and use it in GitHub Desktop.
Modify default "Leave a Reply" in WordPress
This file contains 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
function alter_my_comment_form( $fields ) { | |
$fields['title_reply'] = "Tell me something good!"; | |
$fields['title_reply_to'] = "Tell something good to %s"; | |
return $fields; | |
} | |
add_filter('comment_form_defaults', 'alter_my_comment_form'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment