ninja_forms_addslashes_deep

The Ninja Forms ninja forms addslashes deep function.

Description

ninja_forms_addslashes_deep( $value ); 

Parameters (1)

0. $value
The value.

Usage

  1. if ( !function_exists( 'ninja_forms_addslashes_deep' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/database.php'; 
  3.  
  4. // The value. 
  5. $value = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = ninja_forms_addslashes_deep($value); 
  9.  

Defined (1)

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

/deprecated/includes/database.php  
  1. function ninja_forms_addslashes_deep( $value ) { 
  2. $value = is_array($value) ? 
  3. array_map('ninja_forms_addslashes_deep', $value) : 
  4. addslashes($value); 
  5. return $value;