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: - Introduced in WordPress: 1.0.0
- Deprecated in WordPress: —
Description
Removes any invalid control characters in a text string.Also removes any instance of the `\0` string.