WC_Tax::get_rate_percent()
Method: Return a given rates percent.
Source: includes/class-wc-tax.php:691
Method: Return a given rates percent.
Source: includes/class-wc-tax.php:691
Method: Logical sort order for tax rates based on the following in order of priority.
Source: includes/class-wc-tax.php:331
Method: Loop through a set of tax rates and get the matching rates (1 per priority).
Source: includes/class-wc-tax.php:350
Filter Hook: Location matching criteria – ORed Needs to match: – rates with no postcodes and cities – rates with a matching postcode and city – rates with matching postcode, no city – rates with matching city, no postcode
Source: includes/class-wc-tax.php:441
Method: Get the customer tax location based on their status and the current page.
Source: includes/class-wc-tax.php:453
Method: Get’s an array of matching rates for a tax class.
Source: includes/class-wc-tax.php:481
Method: Get’s an array of matching rates for the shop’s base country.
Source: includes/class-wc-tax.php:523
Filter Hook: Round all taxes to precision (4DP) before passing them back. Note, this is not the same rounding as in the cart calculation class which, depending on settings, will round to 2DP when calculating final totals. Also unlike that class, this rounds .5 up for all cases.
Source: includes/class-wc-tax.php:176
Method: Searches for all matching country/state/postcode tax rates.
Source: includes/class-wc-tax.php:222
Filter Hook: Round all taxes to precision (4DP) before passing them back. Note, this is not the same rounding as in the cart calculation class which, depending on settings, will round to 2DP when calculating final totals. Also unlike that class, this rounds .5 up for all cases.
Source: includes/class-wc-tax.php:252