BuddyPress-Registration-Options icon indicating copy to clipboard operation
BuddyPress-Registration-Options copied to clipboard

Issues with approving users before they've fully activated within BuddyPress' process

Open tw2113 opened this issue 6 years ago • 1 comments

https://wordpress.org/support/topic/hook-during-approval-while-activation-key-is-valid/

Possible hooks to consider:

/**
 * Fires at the end of the process to sign up a user.
 *
 * @since 1.2.2
 *
 * @param bool|WP_Error   $user_id       True on success, WP_Error on failure.
 * @param string          $user_login    Login name requested by the user.
 * @param string          $user_password Password requested by the user.
 * @param string          $user_email    Email address requested by the user.
 * @param array           $usermeta      Miscellaneous metadata about the user (blog-specific
 *                                       signup data, xprofile data, etc).
 */
do_action( 'bp_core_signup_user', $user_id, $user_login, $user_password, $user_email, $usermeta );

/**
 * Fires at the end of the user activation process.
 *
 * @since 1.2.2
 *
 * @param int    $user_id ID of the user being checked.
 * @param string $key     Activation key.
 * @param array  $user    Array of user data.
 */
do_action( 'bp_core_activated_user', $user_id, $key, $user );

tw2113 avatar Jul 08 '19 18:07 tw2113

#195 likely related

tw2113 avatar Aug 27 '21 22:08 tw2113