stripslashes_deep

函数


stripslashes_deep ( $value )
参数
  • (mixed)
    $value
    The value to be stripped.
    Required:
返回值
  • (mixed) Stripped value.
定义位置
  • wp-includes/formatting.php
    , line 2806
引入
2.0.0
弃用

Navigates through an array, object, or scalar, and removes slashes from the values.

function stripslashes_deep( $value ) {
	return map_deep( $value, 'stripslashes_from_strings_only' );
}