W3cubDocs

/WordPress

apply_filters( 'unzip_file_use_ziparchive', bool $ziparchive )

Filters whether to use ZipArchive to unzip archives.

Parameters

$ziparchive

(bool) Whether to use ZipArchive. Default true.

Source

File: wp-admin/includes/file.php

View on Trac

Changelog

Version Description
3.0.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/unzip_file_use_ziparchive