normalize_whitespace


normalize_whitespace ( $str )

Parameters:
  • (string) str The string to normalize.
Returns:
  • (string) The normalized string.
Defined at:

Description

Normalize EOL characters and strip duplicate whitespace.

Related Functions

wp_normalize_site_data, wp_normalize_path, normalize_dirsize_cache_path, wp_kses_normalize_entities, _split_str_by_whitespace

Top Google Results

User discussions

wpseek mobile