WP_Upgrader_Skin::set_result() WordPress Method

The WP_Upgrader_Skin::set_result() method is used to set the results of a Wordpress upgrade operation. The results can be either a WP_Error object or an array of results.

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.


Top ↑

Source

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

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

Top ↑

Changelog

Changelog
VersionDescription
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.