wpseek.com
A WordPress-centric search engine for devs and theme authors



stripslashes_deep › WordPress Function

Since2.0.0
Deprecatedn/a
stripslashes_deep ( $value )
Parameters:
  • (mixed) $value The value to be stripped.
    Required: Yes
Returns:
  • (mixed) Stripped value.
Defined at:
Codex:

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



Source

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