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.7.0.0

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

  • /packages/action-scheduler/classes/migration/Runner.php line 97
    	 *
    	 * @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 );