bb_dbDelta

The BuddyPress bb dbDelta function.

Description

bb_dbDelta( $queries, (constant) $execute = true ); 

Parameters (2)

0. $queries
The queries.
1. $execute — Optional. (constant) => true
The execute.

Usage

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

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php  
  1. function bb_dbDelta($queries, $execute = true) { 
  2. bb_log_deprecated('function', __FUNCTION__, 'bb_sql_delta'); 
  3. return bb_sql_delta($queries, $execute);