bp_core_validate_user_signup

  • apply_filters( 'bp_core_validate_user_signup', $result )

    Source Reference:

    • Component: BuddyPress :: bp-members
      File: /bp-members/bp-members-signup.php :: Trac Source Line: 360
      	// Check if the email address has been used already.
      	if ( email_exists( $user_email ) )
      		$errors->add( 'user_email', __( 'Sorry, that email address is already used!', 'buddypress' ) );
      
      	$result = array( 'user_name' => $user_name, 'user_email' => $user_email, 'errors' => $errors );
      
      	// Apply WPMU legacy filter
      	$result = apply_filters( 'wpmu_validate_user_signup', $result );
      
       	return apply_filters( 'bp_core_validate_user_signup', $result );
      }
      
      function bp_core_validate_blog_signup( $blog_url, $blog_title ) {
      	if ( !is_multisite() || !function_exists( 'wpmu_validate_blog_signup' ) )
      		return false;
      
      	return apply_filters( 'bp_core_validate_blog_signup', wpmu_validate_blog_signup( $blog_url, $blog_title ) );
      }
      
      function bp_core_signup_user( $user_login, $user_password, $user_email, $usermeta ) {
      

Comments are closed.