Omid's Blog

WordPress, useless instructions removed

I have these instructions under all my comment forms in my wordpress theme:

You can use these HTML tags…

I looked for a way to remove those and here it is:

Just add this code in functions.php and the instructions go away.

Though it shouldn’t be the best option because it goes away with every theme upgrade!


function mytheme_init() {

function mytheme_comments_form_defaults($default) {
	return $default;
Posted July 10, 2014

Omid Hezaveh lives and works in Helsinki find him on twitter