public function findBy($key, $value)
    {
        return $this->plugger
            ->setModel($this)
            ->setAdapter(User::class)
            ->plugIn(get_user_by($key, $value))
            ->getConnected()
            ->first();
    }
public function findBy($key, $value)
    {
        return $this->plugger
            ->setModel($this)
            ->setAdapter(User::class)
            ->plugIn(get_user_by($key, $value))
            ->getConnected()
            ->first();
    }
public function findBy ( $ key , $ value ) { return $ this -> plugger -> setModel ( $ this ) -> setAdapter ( User :: class ) -> plugIn ( get_user_by ( $ key , $ value ) ) -> getConnected ( ) -> first ( ) ; }
Find user by keys.

@param  array  $key
@param  string $value

@return \WP_User|false
Find user by keys .