update-custom_{$action} WordPress Action Hook

The update-custom_{$action} hook is a custom hook that is called when a specific action is performed on a custom object. This hook can be used to perform an action when a custom object is updated, deleted, or created.

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

Fires when a custom plugin or theme update request is received.


Description

The dynamic portion of the hook name, $action, refers to the action provided in the request for wp-admin/update.php. Can be used to provide custom update functionality for themes and plugins.


Top ↑

Source

File: wp-admin/update.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.