53.9 F
Storrs
Saturday, September 30, 2023
Home Tags Souvenirs D’Afrique
remove_filter('comment_text', 'make_clickable', 9); function remove_links( $comment_text) { $allowed_html = array( 'br' => array(), 'em' => array(), 'strong' => array() ); $content = wp_kses( $comment_text, $allowed_html ); return $content; } add_filter( 'get_comment_text', 'remove_links', 2); add_filter('comment_form_field_url', '__return_false');