SEOS THEMES

Free WordPress Themes

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

^