Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save khikrama/04a251cd26db3965552c to your computer and use it in GitHub Desktop.
Save khikrama/04a251cd26db3965552c to your computer and use it in GitHub Desktop.
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');
@khikrama
Copy link
Author

khikrama commented Apr 7, 2015

comment form text area edit wordpress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment