Skip to content

Instantly share code, notes, and snippets.

@woogists
woogists / wc-add-currency-symbol.php
Last active July 7, 2024 14:50
Add a custom currency / symbol
/**
* Custom currency and currency symbol
*/
add_filter( 'woocommerce_currencies', 'add_my_currency' );
function add_my_currency( $currencies ) {
$currencies['ABC'] = __( 'Currency name', 'woocommerce' );
return $currencies;
}