shopp_currency_codes

filters the ISO 4217 alpha to numeric lookup table.

add_filter( 'shopp_currency_codes', [callback] )

@param array $codes ISO 4217 alpha to numeric lookup table.

Description

filters the ISO 4217 alpha to numeric lookup table.

Example

// register filter callback
add_filter('shopp_currency_codes', 'shopp_currency_codes_filters');

// create filter function
function shopp_currency_codes_filters( $codes ) {
    // ISO 4217 lookup table
    $codes['USD'] = '840';

    return filtered_value;
}

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar