diff --git a/includes/api.php b/includes/api.php index 37ebcd3..ca92526 100644 --- a/includes/api.php +++ b/includes/api.php @@ -24,7 +24,7 @@ function build_search_artisan_posts_cards($request) $StringifiedTaxonomyIds = esc_html($request->get_param('taxonomy-ids')) ?? null; do_action('wpml_switch_language', $currentLanguage); - $lang = apply_filters('wpml_current_language', null); + // $lang = apply_filters('wpml_current_language', null); $taxonomyIds = explode(',', $StringifiedTaxonomyIds); $taxonomyIds = array_map('intval', $taxonomyIds); $search_value = sanitize_text_field($request->get_param('search')) ?? null;