Uma área de pesquisa sobre o WordPress para devs e autores do tema



update-custom_{$action} ›

Desde2.8.0
Obsoleton/a
do_action( "update-custom_{$action}" )
Definido em:
Codex:

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

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.





Fonte

do_action( "update-custom_{$action}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores