json_encode

The Pods - Custom Content Types and Fields json encode function.

Description

json_encode( $str ); 

Parameters (1)

0. $str
The str.

Usage

  1. if ( !function_exists( 'json_encode' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'pods-custom-content-types-and-fields/deprecated/deprecated.php'; 
  3.  
  4. // The str. 
  5. $str = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = json_encode($str); 
  9.  

Defined (1)

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

/deprecated/deprecated.php  
  1. function json_encode ($str) { 
  2. $json = new Moxiecode_JSON(); 
  3. return $json->encode($str);