This filter help you prevent Weglot to translate some ajax action. Here the list of action we don't translate :

add_filter( 'weglot_ajax_no_translate', [] );
   'add-menu-item', // WP Core.
   'query-attachments', // WP Core.
   'avia_ajax_switch_menu_walker', // Enfold theme.
   'query-themes', // WP Core.
   'wpestate_ajax_check_booking_valability_internal', // WP Estate theme.
   'wpestate_ajax_add_booking', // WP Estate theme.
   'wpestate_ajax_check_booking_valability', // WP Estate theme.
   'mailster_get_template', // Mailster Pro.
   'mmp_map_settings', // MMP Map.
   'elementor_ajax', // Elementor since 2.5.
   'ct_get_svg_icon_sets', // Oxygen.
   'oxy_render_nav_menu', // Oxygen.
   'hotel_booking_ajax_add_to_cart', // Hotel booking plugin.
   'imagify_get_admin_bar_profile', // Imagify Admin Bar.
   'el_check_user_login', // Event list plugin.
   'wcfm_ajax_controller', // wcfm_ajax_controller.
   'jet_ajax_search', // jet_ajax_search.
   'woofc_update_qty', // jet_ajax_search.

With the filter you can update this array by add or unset array index.

Last updated