// Forcer HTTPS sur le logo du thème add_filter('get_custom_logo', function($html) { return str_replace('http://jardinage-lille.fr', 'https://jardinage-lille.fr', $html); }); add_filter('theme_mod_logo', function($url) { return str_replace('http://jardinage-lille.fr', 'https://jardinage-lille.fr', $url); }); add_filter('theme_mod_custom_logo', function($url) { return str_replace('http://', 'https://', $url); });