Skip to content

Instantly share code, notes, and snippets.

@trueqap
Created January 26, 2018 07:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save trueqap/444052d2a87647f67b6c8307d2adfec6 to your computer and use it in GitHub Desktop.
Save trueqap/444052d2a87647f67b6c8307d2adfec6 to your computer and use it in GitHub Desktop.
WooCommerce ár eltüntetése
<?php
//https://wphu.org/kozosseg/tema/targy-eszkoz-lefoglalo-plugin/#post-263704
add_filter( 'woocommerce_variable_sale_price_html', 'ar_torles', 10, 2 );
add_filter( 'woocommerce_variable_price_html', 'ar_torles', 10, 2 );
add_filter( 'woocommerce_get_price_html', 'ar_torles', 10, 2 );
function ar_torles( $price, $product ) {
$price = '';
return $price;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment