translations_api
translations_api ( $type, $args = null )
Parameters:- (string) type Type of translations. Accepts 'plugins', 'themes', 'core'.
- (array|object) args Translation API arguments. Optional.
Returns:- (array|WP_Error) On success an associative array of translations, WP_Error on failure.
Defined at: - Introduced in WordPress: 4.0.0
- Deprecated in WordPress: —
Description
Retrieve translations from WordPress Translation API.