ERROR? -> BTC Currency always defaults to 5 digits (even when setup 8 digits)
-
For days i try to setup givewp with BTC currency (8 digits).
[General] -> [Currency] -> [Number of Decimals]
No matter what i try, i always get the following error message:
The ‘Number of Decimals’ option has been automatically set to 5 because you entered a number higher than the maximum allowed.
Despite the fact that BTC already was natively in givewp currency options, I setup the cutom currency function found here:
function my_give_add_bitcoin_currency( $currencies ) { $currencies['BTC'] = array( 'admin_label' => __( 'Bitcoin (BTC)', 'give' ), 'symbol' => '฿', 'setting' => array( 'currency_position' => 'before', 'thousands_separator' => '.', 'decimal_separator' => ',', 'number_decimals' => 8,
The currency function works for everything (changing labels, symbol etc..) but in wp admin always that error message prevents me from having 8 digits (defaults to 5).
I searched in plugin code.. but without success.How to change that?
Where to find this settings?Thank you very much!
- The topic ‘ERROR? -> BTC Currency always defaults to 5 digits (even when setup 8 digits)’ is closed to new replies.