NB: Make sure you do a back up of your theme, files and database before attempting the tutorials

Easy
Web Hosting Canada

Last modified : Sep 10 2022

Estimated reading time : 0 minutes, 36 seconds - 49 words

If you have a WordPress website that displays this type of messages below your form’s comment section, we understand that it can be a bit annoying.

Here’s a function that will remove it. Simply add it in your functions.php file.

WordPress Tags and HTML Attributes Function

function enleve_html() {
    add_filter('comment_form_defaults','enleve_default_html');
}
add_action('after_setup_theme','enleve_html');

function enleve_default_html($default) {
    unset($default['comment_notes_after']);
    return $default;
}

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>