BuddyPress-Registration-Options
BuddyPress-Registration-Options copied to clipboard
Issues with approving users before they've fully activated within BuddyPress' process
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 );
#195 likely related