Viewing 1 replies (of 1 total)
  • Thread Starter Agunter999

    (@agunter999)

    add_filter('bp_uri', 'bpml_bp_uri_filter', 0);
    
    function bpml_bp_uri_filter($url) {
     $default_language = pll_default_language();
     return preg_replace('/\/' . ICL_LANGUAGE_CODE . '\//', '/', $url, 1);
    
    echo $default_language;
    
    }

    there, put that in your functions

Viewing 1 replies (of 1 total)
  • The topic ‘Buddypress functionality?’ is closed to new replies.