action_scheduler/migration_batch_starting

action_scheduler/migration_batch_starting

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.2.2

do_action('action_scheduler/migration_batch_starting') is found 1 times:

  • /packages/action-scheduler/classes/migration/Runner.php line 97
    093
    094
    095
    096
    097
    098
    099
    100
    101
    102
    103
    *
     * @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 );