Created
September 8, 2013 16:33
-
-
Save braddalton/6486238 to your computer and use it in GitHub Desktop.
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 wpsites_customize_comment_form_text_area($arg) { | |
$arg['comment_field'] = '<p class="comment-form-comment"><label for="comment">' . _x( 'Your Feedback Is Appreciated', 'noun' ) . '</label><textarea id="comment" name="comment" placeholder="Please Use Pastebin or Github Gists If You Want To Leave PHP Code In Your Comment. Thanks!"cols="45" rows="1" aria-required="true"></textarea></p>'; | |
return $arg; | |
} | |
add_filter('comment_form_defaults', 'wpsites_customize_comment_form_text_area'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment