Skip to content

Instantly share code, notes, and snippets.

@gspice
Last active August 29, 2015 14:06
Show Gist options
  • Save gspice/f6d5ebfdc4d0fb0cd87b to your computer and use it in GitHub Desktop.
Save gspice/f6d5ebfdc4d0fb0cd87b to your computer and use it in GitHub Desktop.
<?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