WPDev.one
Core Function
View Source on Trac ↗

wp_get_available_translations()

wp_get_available_translations( )

Get available translations from the WordPress.org API.

Return Value

(array)
array { Array of translations keyed by the language code, each an associative array of data. If the API response results in an error, an empty array will be returned.

Function Information

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