FIX Commenting unused code to be deleted later

This commit is contained in:
Nonimart 2025-07-22 14:52:42 +02:00
parent 3d0429d08a
commit b533847421

View File

@ -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;