WordPress开发者和主题制作者的搜索引擎



update-custom_{$action} ›

Since2.8.0
已弃用n/a
do_action( "update-custom_{$action}" )
定义在:
文档:

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.





源码

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