normalize_whitespace
normalize_whitespace ( $str )
Parameters:- (string) str The string to normalize.
Returns:- (string) The normalized string.
Defined at: - Introduced in WordPress: 2.7.0
- Deprecated in WordPress: —
Description
Normalizes EOL characters and strips duplicate whitespace.