Filters the Translation Installation API response results.
Parameters
$resarray|WP_Error- On success an associative array of translations, WP_Error on failure.
translationsarrayList of translations, each an array of data....$0arraylanguagestringLanguage code.versionstringWordPress version.updatedstringDate the translation was last updated, in MySQL datetime format.english_namestringEnglish name of the language.native_namestringNative name of the language.packagestringURL to download the translation package.isostring[]Array of ISO language codes.stringsarrayArray of translated strings used in the installation process.
}
$typestringThe type of translations being requested.$argsobjectTranslation API arguments.Source
return apply_filters( 'translations_api_result', $res, $type, $args );Changelog
Version Description 4.0.0 Introduced.
User Contributed Notes
You must log in before being able to contribute a note or feedback.