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.
Contents
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; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |