jetpack_pre_theme_upgrade, $theme, $this->themes
jetpack_pre_theme_upgrade, $theme, $this->themes
Appears in: jetpack.16.0.1
Hook Type: action
Displaying hooks found in version: jetpack.16.0.1do_action('jetpack_pre_theme_upgrade, $theme, $this->themes') is found 1 times:
- /json-endpoints/jetpack/class.jetpack-json-api-themes-modify-endpoint.php line 119
* * @param object $theme WP_Theme object * @param array $themes Array of theme objects */ do_action( 'jetpack_pre_theme_upgrade', $theme, $this->themes ); // Objects created inside the for loop to clean the messages for each theme $skin = new Automatic_Upgrader_Skin(); $upgrader = new Theme_Upgrader( $skin ); $upgrader->init(); $result = $upgrader->upgrade( $theme ); $this->log[ $theme ][] = $upgrader->skin->get_upgrade_messages();