apply_filters( 'upgrader_pre_install', bool|WP_Error $response, array $hook_extra )

Filters the install response before the installation has started.

Description Description

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

Top ↑

Parameters Parameters


(bool|WP_Error) Response.


(array) Extra arguments passed to hooked filters.

Top ↑

Source Source

File: wp-admin/includes/class-wp-upgrader.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

You must log in before being able to contribute a note or feedback.