Filters archive unzipping to override with a custom process.
$resultnull|true|WP_Error
$filestring
$tostring
$needed_dirsstring[]
$required_spacefloat
$pre = apply_filters( 'pre_unzip_file', null, $file, $to, $needed_dirs, $required_space );
| Version | Description |
|---|---|
| 6.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_unzip_file