WordPress at a glance
function is not described

stripslashes_from_strings_only() WP 4.4.0

Callback function for stripslashes_deep() which strips slashes from strings.

No Hooks.


Mixed. $value The stripped value.


stripslashes_from_strings_only( $value );
$value(mixed) (required)
The array or string to be stripped.

Code of stripslashes from strings only: wp-includes/formatting.php VER 5.1.1

function stripslashes_from_strings_only( $value ) {
	return is_string( $value ) ? stripslashes( $value ) : $value;