bb_update_db_version

The WordPress Core bb update db version function.

Description

bb_update_db_version(); 

Usage

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

Defined (1)

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

/bp-forums/bbpress/bb-admin/includes/functions.bb-upgrade.php  
  1. function bb_update_db_version() { 
  2. bb_update_option( 'bb_db_version', bb_get_option( 'bb_db_version' ) );