Created
May 14, 2016 11:07
-
-
Save hirejordansmith/dccdfb42940f72b8f16f36943fd56683 to your computer and use it in GitHub Desktop.
GF Currencies with three decimals
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 | |
add_filter( 'gform_currencies', function( $currencies ) { | |
$currencies['EUR']['decimals'] = 3; | |
return $currencies; | |
} ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment