WordPress at a glance
filter is not described

sanitize_textarea_field filter-hook . WP 4.7.0

Filters a sanitized textarea field string.

Использование

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

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

Changelog

Since 4.7.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.