wp_specialchars


wp_specialchars ( $text, $quote_style = ENT_NOQUOTES, $charset = false, $double_encode = false )

Parameters:
  • (string) text Text to escape.
  • (string) quote_style Unused.
  • (false|string) charset Unused.
  • (false) double_encode Whether to double encode. Unused.
See:
Returns:
  • (string) Escaped `$text`.
Defined at:

Description

Legacy escaping for HTML blocks.

Related Functions

_wp_specialchars, wp_specialchars_decode, wp_cache_reset, _canonical_charset, wp_slash

Top Google Results

User discussions

wpseek mobile