bb_maybe_unserialize

The BuddyPress bb maybe unserialize function.

Description

bb_maybe_unserialize( $string ); 

Parameters (1)

0. $string
The string.

Usage

  1. if ( !function_exists( 'bb_maybe_unserialize' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php'; 
  3.  
  4. // The string. 
  5. $string = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bb_maybe_unserialize($string); 
  9.  

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php  
  1. function bb_maybe_unserialize( $string ) { 
  2. bb_log_deprecated('function', __FUNCTION__, 'maybe_unserialize'); 
  3. return maybe_unserialize( $string );