wp_get_installed_translations

SummerySummery

Get installed translations.

Syntax

wp_get_installed_translations( string $type )

DescriptionDescription

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

ParametersParameters

$type

(string) (Required) What to search for. Accepts 'plugins', 'themes', 'core'.

ReturnReturn

(array) Array of language data.

SourceSource

File: wp-includes/l10n.php


			

ChangelogChangelog

Changelog
Version Description
3.7.0 Introduced.
Scroll to Top