edd_calculate_tax( $amount,  $country = false,  $state = false )

Calculate the taxed amount


Description Description


Parameters Parameters

$amount

(Required) float The original amount to calculate a tax cost

$country

(Optional) string The country to calculate tax for. Will use default if not passed

Default value: false

$state

(Optional) string The state to calculate tax for. Will use default if not passed

Default value: false


Top ↑

Return Return

(float) $tax Taxed amount


Top ↑

Source Source

File: includes/tax-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.3.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.