Free WordPress Themes
logo My Account
Buy All 28 Premium Themes For the Price Of One €59.94

Removing the allowed HTML attributes in WordPress

How to removing the allowed HTML attributes after the comment form?
html remove


One Comment so far:

  1. In your functions.php file place this code.


    add_filter(‘comment_form_defaults’ , ‘remove_allowed_html_tags_note’, 30);
    function remove_allowed_html_tags_note( $defaults ) {
    return array_replace( $defaults, array(‘comment_notes_after’ => ” ) );

Leave a Reply