Filter hook 'sanitize_text_field'

in WP Core File wp-includes/formatting.php at line 5581

Description

Filters a sanitized text field string.

Occurrences

Filename Line Number
wp-includes/formatting.php 5581

Parameters

Type Name Description
string $filtered The sanitized string.
string $str The string prior to being sanitized.

PHP Doc

/**
	 * Filters a sanitized text field string.
	 *
	 * @since 2.9.0
	 *
	 * @param string $filtered The sanitized string.
	 * @param string $str      The string prior to being sanitized.
	 */