:::: MENU ::::

WooCommerce remove price html

WooCommerce remove price html

Today we talk about how WooCommerce remove product price HTML.It will remove the price from all the listing pages, product pages, and all other pages too. So let’s start with our example.

add_filter( 'woocommerce_get_price_html' ,  'remove_woocommerce_price_html' , 10, 2 );
function remove_woocommerce_price_html( $price_html ){
          $price_html = "";
          return $price_html;
}
Author: Qaisar Satti
Category: WooCommerce
Last Modified: September 29, 2020


So, what do you think ?