upgrader_pre_install

Advertisement

Summery Summery

Filters the install response before the installation has started.

Syntax Syntax

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

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.

Parameters Parameters

$response

(bool|WP_Error) Response.

$hook_extra

(array) Extra arguments passed to hooked filters.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.