BP_Transients

Allows storage of transients for BackPress.

Defined (1)

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

/bp-forums/bbpress/bb-includes/class.bp-options.php  
  1. class BP_Transients 
  2. function prefix() 
  3. return 'bp_bbpress_'; 
  4.  
  5. function get( $transient ) 
  6. return bb_get_transient( BP_Transients::prefix() . $transient ); 
  7.  
  8. function set( $transient, $value, $expiration = 0 ) 
  9. return bb_set_transient( BP_Transients::prefix() . $transient, $value, $expiration ); 
  10.  
  11. function delete( $transient ) 
  12. return bb_delete_transient( BP_Transients::prefix() . $transient ); 
  13. } // END class BP_Transients