class-currency-icons-task.php
Retrieve currency icons from CoinGecko ID.
Currencies with a CoinGecko ID but without a featured image, are loaded in batches.
If the CoinGecko ID is not known, the algorithm has to lookup the currency by its ticker symbol. If only one currency exists for the ticker, then OK, we use that. Otherwise the algorithm cannot guess which currency is meant by the ticker symbol.
The algorithm will download icons into wp-content/uploads/wallets
,
and add them into the media library. It will then set the featured image
for a currency to be that media library entry.
Tags
Interfaces, Classes, Traits and Enums
- Currency_Icons_Task
- Cron task abstract class.