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

Filters the Translation Installation API response results.


Parameters

$res array|WP_Error
Response as an associative array or WP_Error.
$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

return apply_filters( 'translations_api_result', $res, $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.