wp_specialchars


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

Parameters:
  • (string) string String to escape.
  • (string) quote_style Unused.
  • (bool|string) charset Unused.
  • (bool) double_encode Whether to double encode. Unused.
See:
Returns:
  • (string) Escaped `$string`.
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