WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Difference between revisions of "Function Reference/wp get installed translations"

(Created page with "== Description == This function gets installed translations.It looks in the wp-content/languages directory for translations of themes or plugins .It returns array of language da…")
 
(No difference)

Latest revision as of 14:34, 24 February 2014

Description

This function gets installed translations.It looks in the wp-content/languages directory for translations of themes or plugins .It returns array of language data.

Usage

 <?php wp_get_installed_translations$type ); ?> 

Parameters

$type
(string) (required) string is either themes or plugins or core required
Default: None

Returns

Array of language data

Change Log

Source File

wp_get_installed_translations() is located in wp-includes/l10n.php#L751