action_scheduler/migration_batch_starting
action_scheduler/migration_batch_starting
Appears in: woocommerce.9.2.2
Hook Type: action
Displaying hooks found in version: woocommerce.9.2.2do_action('action_scheduler/migration_batch_starting') is found 1 times:
- /packages/action-scheduler/classes/migration/Runner.php line 97093094095096097098099100101102103
*
* @param
array
$action_ids
List of action IDs to migrate.
*/
public
function
migrate_actions(
array
$action_ids
) {
do_action(
'action_scheduler/migration_batch_starting'
,
$action_ids
);
\ActionScheduler::logger()->unhook_stored_action();
$this
->destination_logger->unhook_stored_action();
foreach
(
$action_ids
as
$source_action_id
) {
$destination_action_id
=
$this
->action_migrator->migrate(
$source_action_id
);