update-core-custom_{$action} WordPress Action Hook

The update-core-custom_{$action} hook is triggered when a user updates their WordPress installation to a new version. This hook allows you to take custom action when this happens.

do_action( "update-core-custom_{$action}" ) #

Fires for each custom update action on the WordPress Updates screen.


Description

The dynamic portion of the hook name, $action, refers to the passed update action. The hook fires in lieu of all available default update actions.


Top ↑

Source

File: wp-admin/update-core.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
3.2.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.