// Add this using plugin "Code Snippet" or directly in functions.php
add_filter( 'weglot_button_html', 'weglot_button_hide', 10 , 3);
function weglot_button_hide($html, $classes) {
$show_button = weglot_get_service("Request_Url_Service_Weglot")->is_eligible_url(weglot_get_current_full_url());