Easy Digital Downloads
  • Package
  • Class
  • Tree

Packages

  • EDD
    • Admin
      • Actions
      • Add-ons
      • Dashboard
      • Discounts
      • Downloads
      • Export
      • Notices
      • Pages
      • Payments
      • Reports
      • Settings
      • System
      • Upgrades
      • Upload
      • Welcome
    • Cart
    • Checkout
    • Classes
      • API
      • Fees
      • HTML
      • Roles
      • Session
    • Emails
    • Functions
      • AJAX
      • Compatibility
      • Errors
      • Formatting
      • Install
      • Login
      • Taxes
      • Templates
    • Gateways
    • Logging
    • Payments
    • Shortcodes
    • Widgets

Functions

  • edd_calculate_tax
  • edd_get_sales_tax_for_year
  • edd_get_tax_rate
  • edd_is_cart_taxed
  • edd_local_tax_opted_in
  • edd_local_taxes_only
  • edd_opt_into_local_taxes
  • edd_opt_out_local_taxes
  • edd_prices_include_tax
  • edd_prices_show_tax_on_checkout
  • edd_sales_tax_for_year
  • edd_taxes_after_discounts
  • edd_taxes_on_prices
  • edd_use_taxes

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.
Easy Digital Downloads API documentation generated by ApiGen 2.8.0