BACK TO DIRECTORY

Real-time Bitcoin Converter

by Modern Web Services

0.0
(0 ratings)

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;
}
?>

Screenshots

Tiny MCE short-code generator plugin

Tiny MCE short-code generator plugin

Example public page showing real-time fiat to bitcoin conversion

Example public page showing real-time fiat to bitcoin conversion

Plugin Details

Active Installs
200
Total Downloads
42,066
Version
1.0.7
Requires WP
4.6
Requires PHP
7.0
Tested Up To
5.1.24
Added
2016-12-31
Last Updated
2019-04-24 4:24pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0