WordPress at a glance
function is not described

kses_init_filters() WP 2.0.0

Adds all KSES input form content filters.

All hooks have default priority. The wp_filter_kses() function is added to the pre_comment_content title_save_pre

The wp_filter_post_kses() function is added to the content_save_pre, excerpt_save_pre, and 'content_filtered_save_pre' hooks.

No Hooks.

Return

null. Nothing.

Usage

kses_init_filters();

Changelog

Since 2.0.0 Introduced.

Code of kses_init_filters() WP 5.7.2

<?php
function kses_init_filters() {
	// Normal filtering.
	add_filter( 'title_save_pre', 'wp_filter_kses' );

	// Comment filtering.
	if ( current_user_can( 'unfiltered_html' ) ) {
		add_filter( 'pre_comment_content', 'wp_filter_post_kses' );
	} else {
		add_filter( 'pre_comment_content', 'wp_filter_kses' );
	}

	// Post filtering.
	add_filter( 'content_save_pre', 'wp_filter_post_kses' );
	add_filter( 'excerpt_save_pre', 'wp_filter_post_kses' );
	add_filter( 'content_filtered_save_pre', 'wp_filter_post_kses' );
}