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.


Top ↑

Source

File: wp-admin/includes/class-language-pack-upgrader.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.