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

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


Parameters

$result false|array
The result array. Default false.
$type string
The type of translations being requested.
$args object
Translation API arguments.

Top ↑

Source

File: wp-admin/includes/translation-install.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
4.0.0 Introduced.

Top ↑

User Contributed Notes

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