W3cubDocs

/WordPress

apply_filters( 'translations_api', bool|array $result, string $type, object $args )

Allows a plugin to override the WordPress.org Translation Installation API entirely.

Parameters

$result

(bool|array) The result object. Default false.

$type

(string) The type of translations being requested.

$args

(object) Translation API arguments.

Source

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

View on Trac

Changelog

Version Description
4.0.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/translations_api