'[actual-price-with-tax]', ); public $display_name = 'Actual price + Tax'; public function getValue($post, $field) { $product = (new \WC_Product_Factory())->get_product($post->ID); return !empty($product) ? $this->getValueWithCurrency(wc_get_price_including_tax($product), $field) : ''; } public function isEnabled() { return 'yes' === get_option( 'woocommerce_prices_include_tax' ) ? false : true; } }