How to Hide Taxonomies From Quick Sear...
Learn how to easily hide taxonomies, such as categories, regions, and tags, from the ...

WPCodeBox
629
Remember to publish your site after going live! Enhance your website’s visibility with an optimized snippet description, potentially using new SEO tags for better search engine ranking.
if( function_exists('oxygen_vsb_register_condition') && function_exists('pll_languages_list') ) {
$lang_list = pll_languages_list();
oxygen_vsb_register_condition(
//Condition Name
'Locale',
//Values
array(
'options' => $lang_list,
'custom' => false
),
//Operators
array('==', '!='),
//Callback Function
'polylang_callback',
//Condition Category
'Polylang'
);
function polylang_callback($value, $operator) {
$my_lang = pll_current_language();
global $OxygenConditions;
return $OxygenConditions->eval_string($my_lang, $value, $operator);
}
}





Check it a URL parameter exists in Oxygen Builder.
