Filter to customize how an empty Cost of Goods Sold value for a product gets rendered to HTML.
'', $this
Sortie :
@param string $html The rendered HTML. @param WC_Product $product The product for which the cost is rendered.
// Modifier la valeur avec le filtre 'woocommerce_product_empty_cogs_html'
add_filter('woocommerce_product_empty_cogs_html', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre('') {
// Modifier la valeur
return '';
}
Chargement des actualités...