apply_filters( 'sanitize_text_field', string $filtered, string $str )

Filters a sanitized text field string.


Parameters

$filtered

(string) The sanitized string.

$str

(string) The string prior to being sanitized.


Source

File: wp-includes/formatting.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.9.0 Introduced.