WordPress Version: 4.4
/**
* Navigates through an array, object, or scalar, and removes slashes from the values.
*
* @since 2.0.0
*
* @param mixed $value The value to be stripped.
* @return mixed Stripped value.
*/
function stripslashes_deep($value)
{
return map_deep($value, 'stripslashes_from_strings_only');
}