update-core-custom_(action) хук-событиеWP 3.2.0

Fires for each custom update action on the WordPress Updates screen.

The dynamic portion of the hook name, $action, refers to the passed update action. The hook fires in lieu of all available default update actions.

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

add_action( 'update-core-custom_(action)', 'wp_kama_update_core_custom_action' );

/**
 * Function for `update-core-custom_(action)` action-hook.
 * 
 * @return void
 */
function wp_kama_update_core_custom_action(){

	// action...
}

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

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

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

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

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

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