action_scheduler/migrate_action_incomplete хук-событиеWC 1.0

could not delete from the old store

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

add_action( 'action_scheduler/migrate_action_incomplete', 'wp_kama_action_scheduler_migrate_incomplete_action', 10, 4 );

/**
 * Function for `action_scheduler/migrate_action_incomplete` action-hook.
 * 
 * @param  $source_action_id      
 * @param  $destination_action_id 
 * @param  $source                
 * @param  $destination           
 *
 * @return void
 */
function wp_kama_action_scheduler_migrate_incomplete_action( $source_action_id, $destination_action_id, $source, $destination ){

	// action...
}
$source_action_id
-
$destination_action_id
-
$source
-
$destination
-

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

ActionMigrator::migrate()
action_scheduler/migrate_action_incomplete
woocommerce/packages/action-scheduler/classes/migration/ActionMigrator.php 103
do_action( 'action_scheduler/migrate_action_incomplete', $source_action_id, $destination_action_id, $this->source, $this->destination );

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

woocommerce/packages/action-scheduler/classes/WP_CLI/Migration_Command.php 135
add_action( 'action_scheduler/migrate_action_incomplete', function ( $source_id, $destination_id ) {