Package EDD\Functions\Taxes
Functions summary
edd_calculate_tax | Calculate the taxed amount |
edd_get_sales_tax_for_year | Gets the sales tax for the current year |
edd_get_tax_rate | Get taxation rate |
edd_is_cart_taxed | Is the cart taxed? |
edd_local_tax_opted_in | Checks if a customer has opted into local taxes |
edd_local_taxes_only | Check if only local taxes are enabled meaning users must opt in by using the option set from the EDD Settings. |
edd_opt_into_local_taxes | Sets a customer as opted into local taxes |
edd_opt_out_local_taxes | Sets a customer as opted out of local taxes |
edd_prices_include_tax | Check if the individual product prices include tax |
edd_prices_show_tax_on_checkout | Checks whether the user has enabled display of taxes on the checkout |
edd_sales_tax_for_year | Stores the tax info in the payment meta |
edd_taxes_after_discounts | Checks if the user has enabled the option to calculate taxes after discounts have been entered |
edd_taxes_on_prices | Show taxes on individual prices? |
edd_use_taxes | Checks if taxes are enabled by using the option set from the EDD Settings. The value returned can be filtered. |