WPDev.one
Core Function
View Source on Trac ↗

wp_download_language_pack()

wp_download_language_pack( mixed $download )

Download a language pack.

Parameters 1 required

Name / Type Description
$download
string

Language code to download.

Required

Return Value

((string)
(string | false) Returns the language code if successfully downloaded (or already installed), or false on failure.

Function Information

Since Version
4.0.0
Source File
wp-admin/includes/translation-install.php
Advertisement