WP_Upgrader_Skin::set_result()publicWP 2.8.0

Sets the result of an upgrade.

Method of the class: WP_Upgrader_Skin{}

No Hooks.

Return

null. Nothing (null).

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.

WP_Upgrader_Skin::set_result() code WP 6.4.3

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