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.
Contents
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.
Source
File: wp-admin/update.php
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |