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_5487', 10, 2 );
function filter_function_name_5487( $filtered, $str ){
	// filter...

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

Where the hook is called

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

Where the hook is used (in WP core)

Does not used.