bp_account_was_activated
Check whether an activation has just been completed.
Description
bp_account_was_activated();
Usage
if ( !function_exists( 'bp_account_was_activated' ) ) { require_once ABSPATH . PLUGINDIR . 'buddypress/bp-core/bp-core-template.php'; } // NOTICE! Understand what this does before running. $result = bp_account_was_activated();
Defined (1)
The function is defined in the following location(s).
- /bp-core/bp-core-template.php
- function bp_account_was_activated() {
- $bp =buddypress);
- $activation_complete = !empty( $bp->activation_complete )
- ? $bp->activation_complete
- : false;
- return $activation_complete;
- }