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_path, wp_kses_normalize_entities, wp_kses_normalize_entities3, wp_kses_normalize_entities2, _split_str_by_whitespace

Top Google Results

User discussions

wpseek mobile