bp_account_was_activated

Check whether an activation has just been completed.

Description

bp_account_was_activated(); 

Usage

  1. if ( !function_exists( 'bp_account_was_activated' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-core/bp-core-template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_account_was_activated(); 
  7.  

Defined (1)

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

/bp-core/bp-core-template.php  
  1. function bp_account_was_activated() { 
  2. $bp =buddypress); 
  3. $activation_complete = !empty( $bp->activation_complete ) 
  4. ? $bp->activation_complete 
  5. : false; 
  6.  
  7. return $activation_complete;