This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
apply_filters( 'frm_currencies', 'add_currency' ); | |
function add_currency( $currencies ) { | |
/* this adds the Eastern Caribbean dollar to Formidable's currency list */ | |
$currencies['XCD']= array( | |
'name' => __( 'Eastern Caribbean dollar', 'formidable-pro' ), | |
'symbol_left' => '$', | |
'symbol_right' => '', | |
'symbol_padding' => ' ', | |
'thousand_separator' => ',', | |
'decimal_separator' => '.', | |
'decimals' => 2, | |
); | |
return $currencies; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment