woocommerce_order_get_tax_totals

woocommerce_order_get_tax_totals

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_order_get_tax_totals') is found 1 times:

  • /includes/abstracts/abstract-wc-order.php line 540
    			$amounts    = array_filter( wp_list_pluck( $tax_totals, 'amount' ) );
    			$tax_totals = array_intersect_key( $tax_totals, $amounts );
    		}
    
    		return apply_filters( 'woocommerce_order_get_tax_totals', $tax_totals, $this );
    	}
    
    	/**
    	 * Get all valid statuses for this order
    	 *
    	 * @since 3.0.0