woocommerce_round_tax_total

The WooCommerce woocommerce round tax total function.

Description

woocommerce_round_tax_total( $tax ); 

Parameters (1)

0. $tax
The tax.

Usage

  1. if ( !function_exists( 'woocommerce_round_tax_total' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce/includes/wc-deprecated-functions.php'; 
  3.  
  4. // The tax. 
  5. $tax = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = woocommerce_round_tax_total($tax); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/wc-deprecated-functions.php  
  1. function woocommerce_round_tax_total( $tax ) { 
  2. wc_deprecated_function( __FUNCTION__, '3.0', 'wc_round_tax_total' ); 
  3. return wc_round_tax_total( $tax );