I've been researching how to remove/replace <dl> html tags from my Woocommerce web site for a long time, like:
<dl class = "Variation"> Starts: July 17, 2020 </dl>
I would just like to have instead (without html <dl> tags):
Starts: July 17, 2020
I have a function that redirects me to WhatsApp with the items in my cart. Everything is going well, except for this blessed <dl> tag that is displayed on WhatsApp message.
is there a way to hide it / remove it?
I'm doing this within /wp-content/plugins/woocommerce/templates/order/order-details.php
My code sends a message to Whatsapp listing the products, however I would like to hide this htlm tag <dl class… > of the message that is sent to whatsapp.
$Produtos .= "*".$item->get_quantity()."x* ".$item->get_name()."%0a%0a";
$Produtos .= "*".$item->get_quantity()."x* ".$item->get_name()."%0a%0a - " .wc_display_item_meta( $item, 'echo' );
I have little knowledge in php, please help me.