On this page
WP_Upgrader_Skin::set_result( string|bool|WP_Error $result )
Sets the result of an upgrade.
Parameters
$resultstring|bool|WP_Error Required-
The result of an upgrade.
Source
File: wp-admin/includes/class-wp-upgrader-skin.php. View all references
public function set_result( $result ) {
$this->result = $result;
}
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_upgrader_skin/set_result