This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 | |||
---|---|---|---|
email1@test.com | email1@test.com | email3@test.com | |
Hello, guys! This is an automated email. Kind regards, Valio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (!function_exists('woo_custom_product_block_markup')) { | |
function woo_custom_product_block_markup($data) { | |
$product_markup = new DOMDocument(); | |
$product_markup->loadHTML($data); | |
$product_anchor = $product_markup->getElementsByTagName('a'); | |
$product_id = ''; | |
foreach ($product_anchor as $anchor) { | |
if ($anchor !== '') { |