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



upgrader_pre_download › WordPress Filter Hooks

Da5.5.0
Deprecaton/a
› apply_filters( 'upgrader_pre_download', false, $package, $this, $hook_extra )
Parametri: (4)
  • () reply Whether to short-circuit the download, the path to the downloaded package, or a WP_Error object. Default false.
    Richiesto: Sì
  • () package The package URI. May be a remote URL or local file path.
    Richiesto: Sì
  • () upgrader The WP_Upgrader instance.
    Richiesto: Sì
  • () hook_extra Extra arguments passed to hooked filters.
    Richiesto: Sì
Definito a:
Codex:

Filters whether to download a package for a WordPress core, plugin, theme, or translation upgrade.

Return a non-false value to short-circuit the download and return that value instead.




Sorgenti

$reply = apply_filters( 'upgrader_pre_download', false, $package, $this, $hook_extra );