Plugin_Installer_Skin::before
Performs an action before installing a plugin.
Method of the class: Plugin_Installer_Skin{}
No Hooks.
Returns
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() Plugin Installer Skin::before code WP 7.0
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
);
}
}