Real-time Bitcoin Converter

Real-time Bitcoin Converter Install Statistics

11
100%
Today: 11 Yesterday: 0 All-time: 38,743 downloads
Real-time Bitcoin Converter Icon

Try plugin: Real-time Bitcoin Converter

We'll create fresh WordPress site with Real-time Bitcoin Converter installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Real-time Bitcoin Converter

Display Fiat currency values in Bitcoin or visa-versa using real-time exchange rates.

0


0


0


0


0

updated: 5 years ago
since: 7 years ago
author: Andrew Ryan

Description

Provides ability for content author to insert a shortcode specifying an amount in either Bitcoin or a Fiat currency.

The plugin then converts this value in to the corresponding value using real-time exchange rates.

For example, I use this on my business site to display my hourly rates in my local currency, as well as in Bitcoin.

Includes a Tiny MCE plugin to assist content author in generating the shortcode.

Requires PHP 7.0+ due to scalar argument declarations.

For Developers

You can modify the html output generated by the plugin using a standard WordPress filter.

<?php  
add_filter('format_bitcoin_convert_output', 'my_custom_filter_function');
/**
 * Modify Bitcoin-Convert's HTML output
 * 
 * @param string[] $output
 * @var string $output['beforeSymbol']
 * @var string $output['afterSymbol']
 * @var string $output['beforeValue']
 * @var string $output['afterValue']
 * @var bool $output['prefixSymbol']
 * @var string $output['symbol']
 * @var float $output['value']
 * @return string[]
 */
function my_custom_filter_function(array $output){
    // Place your modification code here.
    return $output;
}
?>