Remove “You may use these HTML tags…” from WordPress Comments

I would like to remove the text under the WordPress comments area ‘you may use these HTML tags and attributes: <a href=”” title=””> <abbr title=””> <acronym title=””> <b>
<blockquote cite=””> <cite> ` <del datetime=””> <i> <q cite=””> <strike>’

The simplest way is controlled by CSS.
Insert the following codes into your WordPress theme style sheet file.

.form-allowed-tags{
    display:none;
}

If you want to remove it permanently rather than just hide it, you need to insert the following codes into your functions.php file from your WordPress theme folder

add_filter( 'comment_form_defaults', 'remove_comment_form_allowed_tags' );
function remove_comment_form_allowed_tags( $defaults ) {

	$defaults['comment_notes_after'] = '';
	return $defaults;

}
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments