Plugin_Installer_Skin::before()publicWP 2.8.0

Performs an action before installing a plugin.

Method of the class: Plugin_Installer_Skin{}

No Hooks.

Return

null. Nothing (null).

Usage

$Plugin_Installer_Skin = new Plugin_Installer_Skin();
$Plugin_Installer_Skin->before();

Changelog

Since 2.8.0 Introduced.

Plugin_Installer_Skin::before() code WP 6.5.2

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
		);
	}
}