# Compat_Guard::check_unpacked()

Check an unpacked package.

```php
check_unpacked( string $source, string $plugin_file )
```

## Parameters

- `$source` (string) Folder the package was unpacked into.
- `$plugin_file` (string) Plugin file being updated (`slug/slug.php`).

## Return

`true|\WP_Error` 

## Changelog

| Version | Description |
| --- | --- |
| 1.6.0 | Introduced |
