W3cubDocs

/WordPress

apply_filters( 'async_update_translation', bool $update, object $language_update )

Filters whether to asynchronously update translation for core, a plugin, or a theme.

Parameters

$update

(bool) Whether to update.

$language_update

(object) The update offer.

Source

File: wp-admin/includes/class-language-pack-upgrader.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/async_update_translation