Bitcoin and Altcoin Wallets 6.4.0

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
author

Alexandros Georgiou info@dashed-slug.net

since
6.0.0

Introduced.

Interfaces, Classes, Traits and Enums

Currency_Icons_Task
Cron task abstract class.

Search results