wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



pre_unzip_file › WordPress Filter Hooks

Da6.4.0
Deprecaton/a
› apply_filters( 'pre_unzip_file', null, $file, $to, $needed_dirs, $required_space )
Parametri: (5)
  • () result The result of the override. True on success, otherwise WP Error. Default null.
    Richiesto: Sì
  • () file Full path and filename of ZIP archive.
    Richiesto: Sì
  • () to Full path on the filesystem to extract archive to.
    Richiesto: Sì
  • () needed_dirs A full list of required folders that need to be created.
    Richiesto: Sì
  • () required_space The space required to unzip the file and copy its contents, with a 10% buffer.
    Richiesto: Sì
Definito a:
Codex:

Filters archive unzipping to override with a custom process.





Sorgenti

$pre = apply_filters( 'pre_unzip_file', null, $file, $to, $needed_dirs, $required_space );