update_translations_complete_actions
Filters the list of action links available following a translations update.
Usage
add_filter( 'update_translations_complete_actions', 'wp_kama_update_translations_complete_actions_filter' ); /** * Function for `update_translations_complete_actions` filter-hook. * * @param string[] $update_actions Array of translations update links. * * @return string[] */ function wp_kama_update_translations_complete_actions_filter( $update_actions ){ // filter... return $update_actions; }
- $update_actions(string[])
- Array of translations update links.
Changelog
Since 3.7.0 | Introduced. |
Where the hook is called
update_translations_complete_actions
wp-admin/includes/class-language-pack-upgrader-skin.php 109
$update_actions = apply_filters( 'update_translations_complete_actions', $update_actions );