bb_install

The BuddyPress bb install function.

Description

bb_install(); 

Usage

  1. if ( !function_exists( 'bb_install' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-admin/includes/functions.bb-upgrade.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bb_install(); 
  7.  

Defined (1)

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

/bp-forums/bbpress/bb-admin/includes/functions.bb-upgrade.php  
  1. functionbb_install) { 
  2. require_once( BACKPRESS_PATH . 'class.bp-sql-schema-parser.php' ); 
  3. require_once( BB_PATH . 'bb-admin/includes/defaults.bb-schema.php' ); 
  4. $alterations = BP_SQL_Schema_Parser::delta( $bbdb, $bb_queries, $bb_schema_ignore ); 
  5.  
  6.  
  7. return array_filter($alterations);