_unzip_file_pclzip


_unzip_file_pclzip ( $file, $to, $needed_dirs = array() )

Access:
  • private
Parameters:
  • (string) file Full path and filename of ZIP archive.
  • (string) to Full path on the filesystem to extract archive to.
  • (string[]) needed_dirs A partial list of required folders needed to be created.
See:
Returns:
  • (true|WP_Error) True on success, WP_Error on failure.
Defined at:

Description

Attempts to unzip an archive using the PclZip library.This function should not be called directly, use `unzip_file()` instead. Assumes that WP_Filesystem() has already been called and set up.

Related Functions

_unzip_file_ziparchive, unzip_file, wp_zip_file_is_valid, _wp_die_process_input, wp_filter_object_list

Top Google Results

User discussions

wpseek mobile