jetpack_pre_plugin_upgrade, $plugin, $this->plugins, $update_attempted

jetpack_pre_plugin_upgrade, $plugin, $this->plugins, $update_attempted

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: jetpack.16.0.1

do_action('jetpack_pre_plugin_upgrade, $plugin, $this->plugins, $update_attempted') is found 1 times:

  • /json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-endpoint.php line 461
    			 * @param array $plugin            Plugin data
    			 * @param array $plugin            Array of plugin objects
    			 * @param bool  $updated_attempted false for the first update, true subsequently
    			 */
    			do_action( 'jetpack_pre_plugin_upgrade', $plugin, $this->plugins, $update_attempted );
    
    			$update_attempted = true;
    
    			// Object created inside the for loop to clean the messages for each plugin
    			$skin = new WP_Ajax_Upgrader_Skin();
    			// The Automatic_Upgrader_Skin skin shouldn't output anything.