add_action('wp_loaded', function () { if ( defined('DOING_AJAX') && DOING_AJAX ) { error_log('🟡 Ajax détecté : ' . ($_REQUEST['action'] ?? 'inconnu')); // Si l'action semble liée à WPF if (isset($_REQUEST['action']) && stripos($_REQUEST['action'], 'wpf') !== false) { error_log('⚠️ Ajax WPF détecté → désactivation du exists filter'); add_filter('wpf_disable_get_exists_items', '__return_true'); } } }); https://test.madina.dz/wp-sitemap-posts-post-1.xmlhttps://test.madina.dz/wp-sitemap-posts-page-1.xmlhttps://test.madina.dz/wp-sitemap-posts-product-1.xmlhttps://test.madina.dz/wp-sitemap-posts-product-2.xmlhttps://test.madina.dz/wp-sitemap-taxonomies-category-1.xmlhttps://test.madina.dz/wp-sitemap-taxonomies-pwb-brand-1.xmlhttps://test.madina.dz/wp-sitemap-taxonomies-product_cat-1.xmlhttps://test.madina.dz/wp-sitemap-taxonomies-product_tag-1.xmlhttps://test.madina.dz/wp-sitemap-users-1.xml