clean_pre


clean_pre ( $matches )

Parameters:
  • (array|string) matches The array or string
Returns:
  • (string) The pre block without paragraph/line break conversion.
Defined at:

Description

Accepts matches array from preg_replace_callback in wpautop() or a string.Ensures that the contents of a `<pre>...</pre>` HTML block are not converted into paragraphs or line breaks.

Related Functions

clean_url, clean_post_cache, clean_page_cache, add_clean_index, comment_type

Top Google Results

User discussions

wpseek mobile