WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about upgrader_pre_install

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/class-wp-upgrader.php apply_filters 491 /**
* Filters the installation response before the installation has started.
*
* Returning a value that could be evaluated as a `WP_Error` will effectively
* short-circuit the installation, returning that value instead.
*
* @since 2.8.0
*
* @param bool|WP_Error $response Installation response.
* @param array $hook_extra Extra arguments passed to hooked filters.
*/

Hook Parameters

Parameter Type Name Description
bool|WP_Error $response Installation response.
array $hook_extra Extra arguments passed to hooked filters.