MainWP Community

Remove HTML in comments

Remove HTML in comments of your child site.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'pre_comment_content', 'wp_specialchars' );
1 Like