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

nothing to do, it didn't exist in the first place

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

add_action( 'action_scheduler/no_action_to_migrate', 'wp_kama_action_scheduler_no_to_migrate_action', 10, 3 );

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

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

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

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

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

woocommerce/packages/action-scheduler/classes/WP_CLI/Migration_Command.php 129
add_action( 'action_scheduler/no_action_to_migrate', function ( $action_id ) {