Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_available_languages ›

Desde4.7.0
Obsoleton/a
apply_filters( 'get_available_languages', $languages, $dir )
Parâmetros: (2)
  • (array) $languages An array of available language codes.
    Required: Yes
  • (string) $dir The directory where the language files were found.
    Required: Yes
Definido em:
Codex:

Filters the list of available language codes.





Fonte

return apply_filters( 'get_available_languages', $languages, $dir );