WordPress at a glance

stripslashes_deep() WP 1.0

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

Is the basis for: wp_unslash()

No Hooks.

Return

Mixed. Stripped value.

Usage

stripslashes_deep( $value );
$value(mixed) (required)
The value to be stripped.

Code of stripslashes_deep: wp-includes/formatting.php VER 5.0

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

Related Functions

From category: Helper Functions

No comments
    Hello, !     Log In . Register