wp_check_invalid_utf8


wp_check_invalid_utf8 ( $string, $strip = false )

Parameters:
  • (string) $string The text which is to be checked.
  • (bool) $strip Optional. Whether to attempt to strip out invalid UTF8. Default is false.
Returns:
  • (string) The checked text.
Defined at:

Description

Checks for invalid UTF8 in a string.

Related Functions

wp_cache_init, wp_check_locked_posts, wp_check_filetype_and_ext, wp_checkdate, wp_suspend_cache_invalidation

Top Google Results

User discussions

wpseek mobile