bp_account_was_activated()
Check whether an activation has just been completed.
Description
Return
(bool) True if the activation_complete global flag has been set, otherwise false.
Source
File: bp-core/bp-core-template.php
function bp_account_was_activated() { $activation_complete = ! empty( buddypress()->activation_complete ) || ( bp_is_current_component( 'activate' ) && ! empty( $_GET['activated'] ) ); return $activation_complete; }
Changelog
Version | Description |
---|---|
BuddyPress 1.1.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.