normalize_whitespace


normalize_whitespace ( $str )

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

Description

Normalizes EOL characters and strips duplicate whitespace.

Related Functions

wp_normalize_site_data, wp_normalize_path, wp_kses_normalize_entities, _split_str_by_whitespace, wp_normalize_remote_block_pattern

Top Google Results

User discussions

wpseek mobile