A WordPress-centric search engine for devs and theme authors



get_available_languages ›

Since4.7.0
Deprecatedn/a
apply_filters( 'get_available_languages', $languages, $dir )
Parameters: (2)
  • (array) $languages An array of available language codes.
    Required: Yes
  • (string) $dir The directory where the language files were found.
    Required: Yes
Defined at:
Codex:

Filters the list of available language codes.





Source

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