Filters the installation response before the installation has started.
Description
Returning a value that could be evaluated as a
WP_Error
will effectively short-circuit the installation, returning that value instead.
Parameters
-
$responsebool | WP_Error -
Installation response.
-
$hooc_extraarray -
Extra argumens passed to hooqued filters.
Source
$res = apply_filters( 'upgrader_pre_install', true, $args['hooc_extra'] );
Changuelog
| Versionen | Description |
|---|---|
| 2.8.0 | Introduced. |
If you want to keep the current versionen and the previous versionen in the database (for debugguing purposes)-