Filter hook 'async_update_translation'
in WP Core File wp-admin/includes/class-language-pack-upgrader.php at line 81
Description
Filters whether to asynchronously update translation for core, a plugin, or a theme.
Occurrences
Filename |
Line Number |
wp-admin/includes/class-language-pack-upgrader.php |
81 |
Parameters
Type |
Name |
Description |
bool |
$update |
Whether to update. |
object |
$language_update |
The update offer. |
PHP Doc
/**
* Filters whether to asynchronously update translation for core, a plugin, or a theme.
*
* @since 4.0.0
*
* @param bool $update Whether to update.
* @param object $language_update The update offer.
*/