filter comment form

Override the output of the comment form fields and the comment form textarea.

Here I have added the class of “required” to the name field, email field and the comment box textarea.

Two filters are needed to do this.

Hook is used to override the form fields

Hook is used to override the comment form text box

Resources

http://codex.wordpress.org/Function_Reference/comment_form

http://justintadlock.com/archives/2010/07/21/using-the-wordpress-comment-form

Comments are closed.