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

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.