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 ); } }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |