bbp_setup_updater

Setup the bbPress updater.

Description

bbp_setup_updater(); 

Usage

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

Defined (1)

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

/includes/core/update.php  
  1. function bbp_setup_updater() { 
  2.  
  3. // Bail if no update needed 
  4. if ( ! bbp_is_update() ) 
  5. return; 
  6.  
  7. // Call the automated updater