Hi there. To achieve this you gave me the code below. However, this is no longer working! Any idea why?
add_action('wp_footer', 'n2t_wp_footer', 99);
function n2t_wp_footer() {
if(is_singular('product')){
?>
<script>
!function($) {
"use strict";
$(document).ready(function(){
$(".et_b_header-logo > a").attr('href', 'https://yourcustomlink.com');
});
}(jQuery);
</script>
<?php
}
}