upgrader_post_install WordPress Filter Hook

The upgrader_post_install hook is called after a plugin has been upgraded to a new version. This hook can be used to perform any necessary tasks after an upgrade, such as updating settings or clearing caches.

apply_filters( 'upgrader_post_install', bool $response, array $hook_extra, array $result ) #

Filters the installation response after the installation has finished.


Parameters

$response

(bool)Installation response.

$hook_extra

(array)Extra arguments passed to hooked filters.

$result

(array)Installation result data.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.