WordPress开发者和主题制作者的搜索引擎



wp_unslash ›

Since3.6.0
已弃用n/a
wp_unslash ( $value )
参数:
  • (string|array) $value String or array of strings to unslash.
    Required: Yes
返回:
  • (string|array) Unslashed $value
定义在:
文档:

Remove slashes from a string or array of strings.

This should be used to remove slashes from data passed to core API that expects data to be unslashed.



源码

function wp_unslash( $value ) {
	return stripslashes_deep( $value );
}