Last active
December 28, 2015 09:19
-
-
Save amdrew/7477894 to your computer and use it in GitHub Desktop.
Add a new currency to Easy Digital Downloads
This file contains hidden or 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 | |
| function my_child_theme_edd_add_currency( $currencies ) { | |
| // change these values | |
| $currencies['YNC'] = 'Your New Currency'; | |
| return $currencies; | |
| } | |
| add_filter( 'edd_currencies', 'my_child_theme_edd_add_currency' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment