WordPress at Your Fingertips
function is not described

WP_Upgrader_Skin::set_result() public WP 2.8.0

Sets the result of an upgrade.

{} It's a method of the class: WP_Upgrader_Skin{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Upgrader_Skin = new WP_Upgrader_Skin();
$WP_Upgrader_Skin->set_result( $result );
$result(string|true|false|WP_Error) (required)
The result of an upgrade.

Changelog

Since 2.8.0 Introduced.

Code of WP_Upgrader_Skin::set_result() WP 5.8.2

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