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.


Mixed. Stripped value.


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


Since 2.0.0 Introduced.

Code of stripslashes deep: wp-includes/formatting.php WP 5.4.2

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

Related Functions

From category: Helper Functions

No comments
        Log In . Register