Lego2012
12/13/2016 - 4:40 PM

Remove comment form allowed tags

Remove comment form allowed tags

<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.

//* Remove comment form allowed tags
add_filter( 'comment_form_defaults', 'mobile_first_remove_comment_form_allowed_tags' );
function mobile_first_remove_comment_form_allowed_tags( $defaults ) {
    
    $defaults['comment_notes_after'] = '';
    return $defaults;

}