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

Allows a plugin to override the ClassicPress.net 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 GitHub



Changelog

Changelog
Version Description
WP-4.0.0 Introduced.