Created
February 1, 2015 15:51
-
-
Save emilstahl/6123e965d7a6efc1b629 to your computer and use it in GitHub Desktop.
Remove HTML WordPress comments
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
add_filter( 'comment_form_defaults', 'remove_comment_form_allowed_tags' ); | |
function 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