_wp_json_convert_string


_wp_json_convert_string ( $string )

Access:
  • private
Parameters:
  • (string) $string The string which is to be converted.
See:
Returns:
  • (string) The checked string.
Defined at:

Description

Convert a string to UTF-8, so that it can be safely encoded to JSON.

Related Functions

_wp_iso_convert, wp_user_settings, wp_convert_widget_settings, __return_empty_string, _wp_footer_scripts

Top Google Results

User discussions

wpseek mobile