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 false.
Returns:
  • (string) The checked text.
Defined at:

Description

Checks for invalid UTF8 in a string.

Related Functions

wp_opcache_invalidate, wp_cache_init, wp_check_locked_posts, wp_checkdate, wp_check_filetype_and_ext

Top Google Results

User discussions

wpseek mobile