async_update_translation WordPress Filter Hook
The async_update_translation hook is used to asynchronously update the translation of a WordPress site. This hook is fired when a translation is updated and the new translation is available.
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
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |