W3cubDocs

/WordPress

WP_Upgrader_Skin::set_result( string|bool|WP_Error $result )

Sets the result of an upgrade.

Parameters

$resultstring|bool|WP_Errorrequired
The result of an upgrade.

Source

public function set_result( $result ) {
	$this->result = $result;
}

Changelog

Version Description
2.8.0 Introduced.

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