WordPress at a glance
filter is not described

sanitize_text_field filter-hook . WP 2.9.0

Filters a sanitized text field string.

Usage

add_filter( 'sanitize_text_field', 'filter_function_name_8866', 10, 2 );
function filter_function_name_8866( $filtered, $str ){
	// filter...

	return $filtered;
}
$filtered(string)
The sanitized string.
$str(string)
The string prior to being sanitized.

Changelog

Since 2.9.0 Introduced.

Where the hook is called

sanitize_text_field()
sanitize_text_field
wp-includes/formatting.php 5131
return apply_filters( 'sanitize_text_field', $filtered, $str );

Where the hook is used (in WP core)

Usage not found!