Theme_Installer_Skin::before() WordPress Method
The Theme_Installer_Skin class is used to install and update WordPress themes. The before() method is called before the theme is installed or updated.
Theme_Installer_Skin::before() #
Action to perform before installing a theme.
Source
File: wp-admin/includes/class-theme-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. |