WordPress at a glance
filter is not described

pre_kses filter-hook . WP 2.3.0

Filters content to be run through kses.


add_filter( 'pre_kses', 'filter_function_name_4529', 10, 3 );
function filter_function_name_4529( $string, $allowed_html, $allowed_protocols ){
	// filter...

	return $string;
Content to run through KSES.
Allowed HTML elements.
Array of allowed URL protocols.

Where the hook is called

wp-includes/kses.php 914
return apply_filters( 'pre_kses', $string, $allowed_html, $allowed_protocols );

Where the hook is used (in WP core)

wp-includes/default-filters.php 247
add_filter( 'pre_kses', 'wp_pre_kses_less_than' );