wp_kses_no_null


wp_kses_no_null ( $content, $options = null )

Parameters:
  • (string) content Content to filter null characters from.
  • (array) options Set 'slash_zero' => 'keep' when '\0' is allowed. Default is 'remove'.
Returns:
  • (string) Filtered content.
Defined at:

Description

Removes any invalid control characters in a text string.Also removes any instance of the `\0` string.

Related Functions

wp_kses_post, wp_kses_version, wp_kses_hook, wp_kses_array_lc, wp_kses_one_attr

Top Google Results

User discussions

wpseek mobile