bbp_version_bump

Update the DB to the latest version.

Description

bbp_version_bump(); 

Usage

  1. if ( !function_exists( 'bbp_version_bump' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/core/update.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bbp_version_bump(); 
  7.  

Defined (1)

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

/includes/core/update.php  
  1. function bbp_version_bump() { 
  2. update_option( '_bbp_db_version', bbp_get_db_version() );