Plugin_Installer_Skin::before() WordPress Method

The Plugin_Installer_Skin::before() method is called before a plugin is installed. This gives the installer skin a chance to display a message or perform any other actions before the plugin is installed.

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

Top ↑

Changelog

Changelog
VersionDescription
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.