shopp_local_taxrates_upload

filters uploaded local tax rates

add_filter( 'shopp_local_taxrates_upload', [callback] )

@param array $localtaxes uploaded local tax rates

Description

filters uploaded local tax rates

Example

// register filter callback
add_filter('shopp_local_taxrates_upload', 'shopp_local_taxrates_upload_filter');

// create filter function
function shopp_local_taxrates_upload_filter( $rates ) {
    $rates = array(
            'locale1' => 1, // area called 'locale1' 1%
            'locale2' => 2
        );
    return $rates;
}

See Also

You must be logged in to post a comment.

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

Skip to toolbar