bp_account_was_activated()
Check whether an activation has just been completed.
Description Description
Return Return
(bool) True if the activation_complete global flag has been set, otherwise false.
Source Source
File: bp-core/bp-core-template.php
function bp_account_was_activated() {
$bp = buddypress();
$activation_complete = ! empty( $bp->activation_complete ) || ( bp_is_current_component( 'activate' ) && ! empty( $_GET['activated'] ) );
return $activation_complete;
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.1.0 | Introduced. |