wp_kses_stripslashes

Advertisement

Summery Summery

Strips slashes from in front of quotes.

Syntax Syntax

wp_kses_stripslashes( string $string )

Description Description

This function changes the character sequence \" to just ". It leaves all other slashes alone. The quoting from preg_replace(//e) requires this.

Parameters Parameters

$string

(Required) String to strip slashes from.

Return Return

(string) Fixed string with quoted slashes.

Source Source

File: wp-includes/kses.php

 *
 * Also removes any instance of the `\0` string.
 *

Advertisement

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.

Advertisement

Leave a Reply