wp_check_invalid_utf8


wp_check_invalid_utf8 ( $text, $strip = false )

Parameters:
  • (string) text 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_check_filetype_and_ext, wp_checkdate

Top Google Results

User discussions

wpseek mobile