wp_get_installed_translations


wp_get_installed_translations ( $type )

Parameters:
  • (string) type What to search for. Accepts 'plugins', 'themes', 'core'.
Returns:
  • (array) Array of language data.
Defined at:

Description

Gets installed translations.Looks in the wp-content/languages directory for translations of plugins or themes.

Related Functions

wp_get_available_translations, wp_set_script_translations, wp_get_translation_updates, _get_path_to_translation, wp_get_all_sessions

Top Google Results

User discussions

wpseek mobile