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 all references
$update = apply_filters( 'async_update_translation', $update, $language_update );
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |