wp_specialchars_decode Wordpress function


Description:

Converts a number of HTML entities into their special characters.


Syntax:


Arguments:

(string) $string The text which is to be decoded.
(mixed) $quote_style 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.


Return Type:

(string) The decoded text without HTML entities.


Define At:

wp-includes/formatting.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_specialchars_decode


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×