I have checked all those posts.
1) I don’t have the following code in my comment.php
<?php comment_form(); ?>
2) I added the following code in function.php
but still did not work.
function mytheme_init() {
add_filter(‘comment_form_defaults’,’mytheme_comments_form_defaults’);
}
add_action(‘after_setup_theme’,’mytheme_init’);
function mytheme_comments_form_defaults($default) {
unset($default[‘comment_notes_after’]);
return $default;
}
3) I also tried
.form-allowed-tags{
display:none;}
It did not work either.
I am new to WordPress. Can you please help me in detail. Thanks.