Un motore di ricerca WordPress per sviluppatori e autori di temi



upgrader_pre_install ›

Da2.8.0
Deprecaton/a
apply_filters( 'upgrader_pre_install', true, $args['hook_extra'] )
Parametri: (2)
  • (bool|WP_Error) $response Response.
    Richiesto:
  • (array) $hook_extra Extra arguments passed to hooked filters.
    Richiesto:
Definito a:
Codex:

Filters the install response before the installation has started.

Returning a truthy value, or one that could be evaluated as a WP_Error will effectively short-circuit the installation, returning that value instead.





Sorgenti

$res = apply_filters( 'upgrader_pre_install', true, $args['hook_extra'] );