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

In this article

Filters the Translation Installation API response results.

Parameters

$resarray|WP_Error
Response as an associative array or WP_Error.
$typestring
The type of translations being requested.
$argsobject
Translation API arguments.

Source

return apply_filters( 'translations_api_result', $res, $type, $args );

Changelog

VersionDescription
4.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.