title: WordPress delete_user hook when delete multiple users
body: <p>I'm using delete_user hook to make some action (call another function) before the user is deleted.
  This is part of my code:</p>
  
  <pre><code> function delete_user( $user_id ) 
  {
      include('sso_functions.php');
      global $wpdb;
      $user_obj = get_userdata( $user_id );
      $email = $user_obj-&gt;user_email;
      $login = array_values(login($email)); 
      $login_err = $login[1];
      $cookie = $login[0];
      if($login_err == 0)
      {
  
          //....
      }
      else
      {
          //...
      }
  
  
  
  }
  add_action( 'delete_user', 'delete_user' );
  </code></pre>
  
  <p>Login() function is declared in sso_settings.php file.</p>
  
  <p>If I try to delete only one user is working good.</p>
  
  <p>But if I try to delete 2 users - login() function is called and first user is deleted from Wordpress, but after that I get a php error that function login() is redeclared.
  If I use include_once('sso_functions.php') instead of include('sso_function.php'). I don't receive the error and users are deleted from Wordpress but function Login() is not called for second user.</p>
  
  <p>Any idea how can I solve this?
  Thanks!</p>