Format USD currency in Easy Digital Downloads

Format USD currency in Easy Digital Downloads on child sites.

Snippet Type

Execute on Child Sites

Snippet

function pw_edd_custom_currency_format( $formatted, $currency, $price ) {
	return $price . ' USD';
}
add_filter( 'edd_usd_currency_filter_before', 'pw_edd_custom_currency_format', 10, 3 );
add_filter( 'edd_usd_currency_filter_after', 'pw_edd_custom_currency_format', 10, 3 );