Good morning all,
I am using polylang and would need to change the logo url so that it points to the correct homepage.
After some research on the forum I came across the generate_logo_href filter.
I have the impression that this one is not working.
I tried the following function but the url is still the same.
add_filter( 'generate_logo_href', function() {
$home_link = pll_home_url(pll_current_language());
return $home_link;
} );
Do you have an idea
Romain