The WC_Product::get_price_excluding_tax function is deprecated since version 3.0
-
This error appears several times in the php_errorlog: The WC_Product::get_price_excluding_tax function is deprecated since version 3.0. Replace with wc_get_price_excluding_tax.
From what I read in this query:
https://www.ads-software.com/support/topic/wc_productget_price_excluding_tax-function-is-deprecated/
t would only be a warning, but I still did the search and found that this function is mentioned in the following files WC:The get_price_excluding_tax function is defined in wp-content/plugins/woocommerce/includes/legacy/abstract-wc-legacy-product.php and is where the error message is issued.
But I can’t find where this function is executed from, so it is very strange that it gives the error, since in the other php in it is just a comment mentioning the mention and in
wp-content/plugins/woocommerce/includes/wc-product-functions.php define the function: wc_get_price_excluding_tax.Very rare this.
. Thank you.
The page I need help with: [log in to see the link]
- The topic ‘The WC_Product::get_price_excluding_tax function is deprecated since version 3.0’ is closed to new replies.