wp_kses_stripslashes

SummerySummery

Strips slashes from in front of quotes.

Syntax

wp_kses_stripslashes( string $string )

DescriptionDescription

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

ParametersParameters

$string

(string) (Required) String to strip slashes from.

ReturnReturn

(string) Fixed string with quoted slashes.

SourceSource

File: wp-includes/kses.php


			

ChangelogChangelog

Changelog
Version Description
1.0.0 Introduced.
Scroll to Top