wc_prices_include_tax

Are prices inclusive of tax?.

Description

wc_prices_include_tax(); 

Usage

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

Defined (1)

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

/includes/wc-conditional-functions.php  
  1. function wc_prices_include_tax() { 
  2. return wc_tax_enabled() && 'yes' === get_option( 'woocommerce_prices_include_tax' );