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

Filters the Translation Installation API response results.


Parameters

$res

(object|WP_Error) Response object or WP_Error.

$type

(string) The type of translations being requested.

$args

(object) Translation API arguments.


Source

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

View on GitHub



Changelog

Changelog
Version Description
WP-4.0.0 Introduced.