[Spam] [wp-hackers] filter for comment form
Michael D. Adams
mikea at turbonet.com
Mon May 29 18:43:39 GMT 2006
On Mon, 29 May 2006, John Joseph Bachir wrote:
> Is there a way to change the output of the actual comment form? For
> example to inject an additional attribute into the <form ... > tag?
http://wphooks.flatearth.org/hooks/comment_form/
function my_inputs() {
echo "<input name='just_work' type='checkbox' value='1'
checked='checked' />";
}
add_action( 'comment_form', 'my_inputs' );
As the link above states, however, this action is not guaranteed to be in
every theme.
Michael
More information about the wp-hackers
mailing list