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.

Top ↑

Source

File: wp-admin/includes/file.php. View all references

if ( class_exists( 'ZipArchive', false ) && apply_filters( 'unzip_file_use_ziparchive', true ) ) {


Top ↑

Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.