apply_filters( ‘sanitize_text_field’, string $filtered, string $str )

In this article

Filters a sanitized text field string.

Parameters

$filteredstring
The sanitized string.
$strstring
The string prior to being sanitized.

Source

return apply_filters( 'sanitize_text_field', $filtered, $str );

Changelog

VersionDescription
2.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.