replaced pll_get_languages_list with pll_languages_list api function