Last active
August 29, 2015 14:06
-
-
Save gspice/f6d5ebfdc4d0fb0cd87b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Do NOT include the opening php tag | |
//* Remove comment form allowed tags | |
add_filter( 'comment_form_defaults', 'bg_remove_comment_form_allowed_tags' ); | |
function bg_remove_comment_form_allowed_tags( $defaults ) { | |
$defaults['comment_notes_after'] = ''; | |
return $defaults; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment