stripslashes_deep

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

Description

stripslashes_deep( $value ); 

Parameters (1)

0. $value
The value.

Usage

  1. if ( !function_exists( 'stripslashes_deep' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7-infusionsoft-add-on/src/xmlrpc-3.0/debugger/common.php'; 
  3.  
  4. // The value. 
  5. $value = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = stripslashes_deep($value); 
  9.  

Defined (1)

The function is defined in the following location(s).

/src/xmlrpc-3.0/debugger/common.php  
  1. function stripslashes_deep($value) 
  2. $value = is_array($value) ? 
  3. array_map('stripslashes_deep', $value) : 
  4. stripslashes($value); 
  5.  
  6. return $value;