W3cubDocs

/WordPress

Theme_Installer_Skin::before()

Performs an action before installing a theme.

Source

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

Changelog

Version Description
2.8.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/theme_installer_skin/before