Glossary Term
wp_specialchars_decode()
wp_specialchars_decode() — Converts a number of HTML entities into their special characters. Specifically deals with: &, <, >, “, and ‘. $quote_style can be set to ENT_COMPAT to decode ” entities, or ENT_QUOTES to do both ” and ‘. Default is ENT_NOQUOTES where no quotes are decoded.
Inputs: $text (string): The text which is to be decoded. $quote_style (string|int): Optional. Converts double quotes if set to ENT_COMPAT, both single and double if set to ENT_QUOTES or none if set to ENT_NOQUOTES. Also compatible with old _wp_specialchars() values; converting single quotes if set to ‘single’, double if set to ‘double’ or both if otherwise set. Default is ENT_NOQUOTES.
Returns string: The decoded text without HTML entities.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
