W3cubDocs

/WordPress

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

Sets the result of an upgrade.

Parameters

$result

(string|bool|WP_Error) (Required) The result of an upgrade.

Source

File: wp-admin/includes/class-wp-upgrader-skin.php

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

Changelog

Version Description
2.8.0 Introduced.

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