{"id":53269,"date":"2016-12-31T15:06:32","date_gmt":"2016-12-31T15:06:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/real-time-bitcoin-currency-converter\/"},"modified":"2019-04-24T16:24:53","modified_gmt":"2019-04-24T16:24:53","slug":"real-time-bitcoin-currency-converter","status":"publish","type":"plugin","link":"https:\/\/bn.wordpress.org\/plugins\/real-time-bitcoin-currency-converter\/","author":15249458,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.7","stable_tag":"1.0.7","tested":"5.1.22","requires":"4.6","requires_php":"7.0","requires_plugins":"","header_name":"Real-time Bitcoin Converter","header_author":"Andrew Ryan","header_description":"","assets_banners_color":"","last_updated":"2019-04-24 16:24:53","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/modernwebservices.com.au\/donate","header_plugin_uri":"https:\/\/github.com\/andrewryantech\/bitcoin-convert-wp-plugin","header_author_uri":"https:\/\/github.com\/andrewryantech","rating":0,"author_block_rating":0,"active_installs":300,"downloads":41725,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1754346","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1754346","resolution":"256x256","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.2","1.0.3","1.0.4","1.0.5","1.0.7"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1754335","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1754335","resolution":"2","location":"assets"}},"screenshots":{"1":"Tiny MCE short-code generator plugin","2":"Example public page showing real-time fiat to bitcoin conversion"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1886],"plugin_category":[45],"plugin_contributors":[129407],"plugin_business_model":[],"class_list":["post-53269","plugin","type-plugin","status-publish","hentry","plugin_tags-bitcoin","plugin_category-ecommerce","plugin_contributors-modernwebservices","plugin_committers-modernwebservices"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/real-time-bitcoin-currency-converter\/assets\/icon-128x128.png?rev=1754346","icon_2x":"https:\/\/ps.w.org\/real-time-bitcoin-currency-converter\/assets\/icon-256x256.png?rev=1754346","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/real-time-bitcoin-currency-converter\/assets\/screenshot-1.png?rev=1754335","caption":"Tiny MCE short-code generator plugin"},{"src":"https:\/\/ps.w.org\/real-time-bitcoin-currency-converter\/assets\/screenshot-2.png?rev=1754335","caption":"Example public page showing real-time fiat to bitcoin conversion"}],"raw_content":"<!--section=description-->\n<p>Provides ability for content author to insert a shortcode specifying an amount in either Bitcoin or a Fiat currency.<\/p>\n\n<p>The plugin then converts this value in to the corresponding value using real-time exchange rates.<\/p>\n\n<p>For example, I use this on my business site to display my hourly rates in my local currency, as well as in Bitcoin.<\/p>\n\n<p>Includes a Tiny MCE plugin to assist content author in generating the shortcode.<\/p>\n\n<p>Requires PHP 7.0+ due to scalar argument declarations.<\/p>\n\n<h3>For Developers<\/h3>\n\n<p>You can modify the html output generated by the plugin using a standard WordPress filter.<\/p>\n\n<pre><code>&lt;?php  \nadd_filter('format_bitcoin_convert_output', 'my_custom_filter_function');\n\/**\n * Modify Bitcoin-Convert's HTML output\n * \n * @param string[] $output\n * @var string $output['beforeSymbol']\n * @var string $output['afterSymbol']\n * @var string $output['beforeValue']\n * @var string $output['afterValue']\n * @var bool $output['prefixSymbol']\n * @var string $output['symbol']\n * @var float $output['value']\n * @return string[]\n *\/\nfunction my_custom_filter_function(array $output){\n    \/\/ Place your modification code here.\n    return $output;\n}\n?&gt;\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Use the Settings-&gt;Plugin Name screen to configure the plugin<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Are values updated client-side?<\/dt>\n<dd><p>At the moment no. All currency conversion is performed server-side. I'll probably add a jQuery plugin and optional data attributes in a later \nversion to enable that functionality.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Add composer dump and svn cp to publish script<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Uncomment svn ci command<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Clean up dead code<\/li>\n<li>Fix plugin URI<\/li>\n<li>Add packaging\/publishing shell script<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Refactored to use namespaced classes and composer autoloader<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Fixed PHP warning: \"Warning: count(): Parameter must be an array or an object that implements Countable\"<\/li>\n<\/ul>","raw_excerpt":"Display Fiat currency values in Bitcoin or visa-versa using real-time exchange rates.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/53269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=53269"}],"author":[{"embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/modernwebservices"}],"wp:attachment":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=53269"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=53269"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=53269"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=53269"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=53269"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=53269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}