WordPress at a glance
action is not described

update-custom_(action) action-hook . WP 2.8.0

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.


add_action( 'update-custom_(action)', 'action_function_name_4833' );
function action_function_name_4833(){
	// action...

Список изменений

С версии 2.8.0 Введена.

Где вызывается хук

В файле: /wp-admin/update.php
wp-admin/update.php 352
do_action( "update-custom_{$action}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

Где используется хук в ядре WordPress

Использование не найдено.