FIX Commenting unused code to be deleted later
This commit is contained in:
parent
3d0429d08a
commit
b533847421
|
|
@ -24,7 +24,7 @@ function build_search_artisan_posts_cards($request)
|
||||||
$StringifiedTaxonomyIds = esc_html($request->get_param('taxonomy-ids')) ?? null;
|
$StringifiedTaxonomyIds = esc_html($request->get_param('taxonomy-ids')) ?? null;
|
||||||
|
|
||||||
do_action('wpml_switch_language', $currentLanguage);
|
do_action('wpml_switch_language', $currentLanguage);
|
||||||
$lang = apply_filters('wpml_current_language', null);
|
// $lang = apply_filters('wpml_current_language', null);
|
||||||
$taxonomyIds = explode(',', $StringifiedTaxonomyIds);
|
$taxonomyIds = explode(',', $StringifiedTaxonomyIds);
|
||||||
$taxonomyIds = array_map('intval', $taxonomyIds);
|
$taxonomyIds = array_map('intval', $taxonomyIds);
|
||||||
$search_value = sanitize_text_field($request->get_param('search')) ?? null;
|
$search_value = sanitize_text_field($request->get_param('search')) ?? null;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user