Do action bp_signup_username_errors fires what code
i m not new to developmnet but new to buddypress, i m tired to find out what code is running behind this
do_action( ‘bp_signup_username_errors’ );
i added google recaptcha v2 , validated somehow successfully in
function bp_core_validate_user_signup( $user_name, $user_email )
next i found this
// If there are errors with account details, set them for display.
if ( !empty( $account_details[‘errors’]->errors[‘user_name’] ) )
$bp->signup->errors[‘signup_username’] = $account_details[‘errors’]->errors[‘user_name’];
what is I need is to show google captcha failure message where i want , as like it is showing for username or other fields.
wordpress code is really hard to understand.
- You must be logged in to reply to this topic.