wp_kses_no_null


wp_kses_no_null ( $string, $options = null )

Parameters:
  • (string) string 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_version, wp_kses_hook, wp_kses_post, wp_kses_one_attr, wp_kses_array_lc

Top Google Results

User discussions

wpseek mobile