W3cubDocs

/WordPress

Plugin_Installer_Skin::before()

Action to perform before installing a plugin.

Source

File: wp-admin/includes/class-plugin-installer-skin.php

public function before() {
		if ( ! empty( $this->api ) ) {
			$this->upgrader->strings['process_success'] = sprintf(
				$this->upgrader->strings['process_success_specific'],
				$this->api->name,
				$this->api->version
			);
		}
	}

Changelog

Version Description
2.8.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/plugin_installer_skin/before