jetpack_pre_theme_upgrade_translations, $theme, $this->themes

jetpack_pre_theme_upgrade_translations, $theme, $this->themes

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: jetpack.16.0.1

do_action('jetpack_pre_theme_upgrade_translations, $theme, $this->themes') is found 1 times:

  • /json-endpoints/jetpack/class.jetpack-json-api-themes-modify-endpoint.php line 168
    			 *
    			 * @param object $theme WP_Theme object
    			 * @param array $themes Array of theme objects
    			 */
    			do_action( 'jetpack_pre_theme_upgrade_translations', $theme, $this->themes );
    			// Objects created inside the for loop to clean the messages for each theme
    			$skin     = new Automatic_Upgrader_Skin();
    			$upgrader = new Language_Pack_Upgrader( $skin );
    			$upgrader->init();
    
    			$result              = $upgrader->upgrade( (object) $translation );