apply_filters( ‘translations_api’, false|array $result, string $type, object $args )

In this article

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

Parameters

$resultfalse|array
The result array. Default false.
$typestring
The type of translations being requested.
$argsobject
Translation API arguments.

Source

$res = apply_filters( 'translations_api', false, $type, $args );

Changelog

VersionDescription
4.0.0Introduced.

User Contributed Notes

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