apply_filters( 'translations_api_result', array|WP_Error $res, string $type, object $args )

Filters the Translation Installation API response results.


Parameters

$res

Response as an associative array or WP_Error.

$type

The type of translations being requested.

$args

Translation API arguments.


Source

File: wp-admin/includes/translation-install.php

View on GitHub



Changelog

Changelog
Version Description
4.0.0 Introduced.